benchmark memoize #5

Closed
opened 2026-03-24 11:46:20 +00:00 by lukas · 2 comments
Owner

benchmark the large document. Does memoize even increase the performance?

benchmark the large document. Does `memoize` even increase the performance?
lukas self-assigned this 2026-03-24 11:46:20 +00:00
Author
Owner
$ make clean
$ make no_memoize
$ time make no_memoize
# ...
make no_memoize  17,36s user 0,39s system 99% cpu 17,802 total
$ make clean
$ make main.pdf -B # uses memoize
$ time make main.pdf -B
# ...
make main.pdf -B  4,05s user 0,54s system 99% cpu 4,600 total

the document has 32 pages with roughly 450 pictures.

```bash $ make clean $ make no_memoize $ time make no_memoize # ... make no_memoize 17,36s user 0,39s system 99% cpu 17,802 total ``` ```bash $ make clean $ make main.pdf -B # uses memoize $ time make main.pdf -B # ... make main.pdf -B 4,05s user 0,54s system 99% cpu 4,600 total ``` the document has `32` pages with roughly 450 pictures.
Author
Owner

ok that's with lualatex if it makes a difference

ok that's with lualatex if it makes a difference
lukas closed this issue 2026-03-24 13:17:27 +00:00
lukas added this to the 1.0.0 milestone 2026-04-12 09:42:31 +00:00
Sign in to join this conversation.
No description provided.