JuliaImages / ExifViewer.jl

Metadata reader in Julia, wrapper over LibExif
https://juliaimages.org/ExifViewer.jl/dev/
MIT License
28 stars 1 forks source link

RoadMap for ExifViewer.jl #4

Open ashwani-rathee opened 2 years ago

ashwani-rathee commented 2 years ago

For basic operations, these are the benchmarks

julia> using BenchmarkTools, TestImages, ExifViewer
julia> filename = "test/test_images/test.jpg"
julia> io = open(filename, "r")
julia> @btime read_metadata(io)
1.862 μs (11 allocations: 912 bytes)
julia> @btime read_metadata(filename)
269.472 μs (122 allocations: 100.05 KiB)
julia> @btime data = read(filename)
15.876 μs (13 allocations: 69.28 KiB)
julia> @btime read_metadata(data)
221.786 μs (109 allocations: 30.77 KiB)

We want to automate this

epompeii commented 1 year ago

I've been working on a continuous benchmarking tool called Bencher that could help keep track of these results: https://github.com/bencherdev/bencher