Open ashwani-rathee opened 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
I've been working on a continuous benchmarking tool called Bencher that could help keep track of these results: https://github.com/bencherdev/bencher
For basic operations, these are the benchmarks
We want to automate this