Move the image load benchmark under tools
This commit is contained in:
parent
34388b93ea
commit
de377d3eae
11
meson.build
11
meson.build
|
@ -165,12 +165,6 @@ exe = executable('fiv', 'fiv.c', 'fiv-view.c', 'fiv-io.c', 'fiv-context-menu.c',
|
||||||
dependencies : dependencies,
|
dependencies : dependencies,
|
||||||
win_subsystem : 'windows',
|
win_subsystem : 'windows',
|
||||||
)
|
)
|
||||||
if gdkpixbuf.found()
|
|
||||||
executable('io-benchmark', 'fiv-io-benchmark.c', 'fiv-io.c',
|
|
||||||
'xdg.c', tiff_tables,
|
|
||||||
build_by_default : false,
|
|
||||||
dependencies : [dependencies, gdkpixbuf])
|
|
||||||
endif
|
|
||||||
|
|
||||||
desktops += 'fiv-jpegcrop.desktop'
|
desktops += 'fiv-jpegcrop.desktop'
|
||||||
jpegcrop = executable('fiv-jpegcrop', 'fiv-jpegcrop.c', rc, config,
|
jpegcrop = executable('fiv-jpegcrop', 'fiv-jpegcrop.c', rc, config,
|
||||||
|
@ -194,6 +188,11 @@ if get_option('tools').enabled()
|
||||||
dependencies : tools_dependencies,
|
dependencies : tools_dependencies,
|
||||||
c_args: tools_c_args)
|
c_args: tools_c_args)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
if gdkpixbuf.found()
|
||||||
|
executable('benchmark-io', 'tools/benchmark-io.c', 'fiv-io.c', 'xdg.c',
|
||||||
|
tiff_tables, dependencies : [dependencies, gdkpixbuf])
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
gsettings_schemas = ['fiv.gschema.xml']
|
gsettings_schemas = ['fiv.gschema.xml']
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//
|
//
|
||||||
// fiv-io-benchmark.c: see if we suck
|
// benchmark-io.c: measure and compare image loading times
|
||||||
//
|
//
|
||||||
// Copyright (c) 2021 - 2022, Přemysl Eric Janouch <p@janouch.name>
|
// Copyright (c) 2021 - 2022, Přemysl Eric Janouch <p@janouch.name>
|
||||||
//
|
//
|
Loading…
Reference in New Issue