Performance comparison with Perl ExifTool

Performance comparison: lexiftool v13.64.0-1-g84085ca and Perl ExifTool 13.64

2026-11-23, Ubuntu 26.04.1 LTS, INTEL(R) XEON(R) PLATINUM 8573C; Perl v5.40.1; 20 timed runs per case and tool after 2 warm-up runs (hyperfine 1.19.0); sessions of 30 commands.

One process per file, by file type

Single call: one process for one file, wall clock. Processing: the time per command of a -stay_open session on the same file (the empty session subtracted). Module loading: what remains of the single call after start-up and processing. Memory: peak RSS of the single call.

File typeSingle call ms exiftool / lexiftoolfaster byProcessing ms exiftool / lexiftoolfaster byModule loading ms exiftool / lexiftoolMemory MB exiftool / lexiftool
JPEG with maker notes (Canon) (Canon.jpg)118 / 206.0×14 / 4.92.9×30 / 8.424.6 / 10.6
JPEG with maker notes (Nikon) (Nikon.jpg)127 / 196.6×11 / 3.33.2×43 / 9.326.8 / 11.9
DNG (DNG.dng)196 / 277.2×28 / 9.23.1×94 / 1236.2 / 12.2
QuickTime MOV (QuickTime.mov)134 / 245.7×16 / 5.43.0×44 / 1225.4 / 11.9
PDF (PDF.pdf)113 / 186.4×11 / 5.62.1×27 / 5.622.5 / 9.5
JPEG with XMP (XMP.jpg)105 / 185.8×12 / 5.62.1×19 / 6.020.8 / 9.1
JPEG with HDR+ maker note (Google Pixel) (Google.jpg)202 / 326.3×82 / 174.9×47 / 8.726.9 / 11.5
mean over the mix142 / 226.3×25 / 7.33.4×43 / 8.826.2 / 11.0
write a tag (-Artist=Benchmark, JPEG copy)237 / 317.6×11 / 4.92.3×152 / 2044.5 / 17.6
start-up alone (-ver)74 / 6.511×18.1 / 6.5

Other cases

CaseCommandexiftool ms mean (min)lexiftool ms mean (min)faster byCPU ms exiftool / lexiftoolMemory MB exiftool / lexiftool
start-ver74 (72)6.5 (6.3)11×74 / 6.418.1 / 6.5
write-jpeg-overwrite_original -Artist=Benchmark write.jpg237 (229)31 (31)7.6×234 / 3144.5 / 17.6
dir-read-j -G1 -q -r IMAGES1790 (1778)759 (753)2.4×1790 / 758103.7 / 57.3
session-canon-stay_open True -@ session-canon.args506 (498)154 (152)3.3×505 / 15324.8 / 17.6
session-nikon-stay_open True -@ session-nikon.args392 (389)107 (106)3.7×391 / 10726.9 / 19.3
session-dng-stay_open True -@ session-dng.args928 (922)282 (278)3.3×928 / 28236.2 / 20.5
session-mov-stay_open True -@ session-mov.args556 (551)168 (168)3.3×556 / 16825.9 / 19.7
session-pdf-stay_open True -@ session-pdf.args418 (415)174 (172)2.4×418 / 17323.1 / 15.0
session-xmp-stay_open True -@ session-xmp.args436 (433)175 (174)2.5×436 / 17521.6 / 14.8
session-google-stay_open True -@ session-google.args2533 (2505)512 (506)4.9×2532 / 51227.5 / 17.0
session-write-stay_open True -@ session-write.args414 (410)154 (151)2.7×403 / 14344.8 / 19.4
session-empty-stay_open True -@ empty.args74 (74)7.0 (6.9)11×74 / 6.918.0 / 6.7

One process over all 195 test images: exiftool 109 files/s, lexiftool 257 files/s, 2.4× faster.

Both tools run on the same machine, directly after each other, in one hyperfine invocation per case; the files come from vendor/exiftool/t/images. On a shared runner the absolute times vary from run to run, the ratio between the two tools does not. CPU is user plus system time of the process; memory is the maximum resident set size (GNU time).

Raw data: results.json. How it is measured: doc/benchmark.md. Downloads: standalone executables, C API (latest-dev, the build measured here).