Simon Michael
Simon Michael
Any more info on this @markokocic ? Can you show a slowdown in recent hledger versions ?
Thank you! When you have time, would you mind repeating those timings with examples/10000x10000x10.journal ? You can make that with `just samplejournals` or `make samplejournals`.
Thanks! Very strange. I'll try to reproduce it on other platforms.
Benchmarking is hard. I cannot reproduce those dramatic slowdowns; I feel there must be a problem/difference with those binaries - built unoptimised ? built with different GHC version ? -...
For interest, here are my best representative results on this mac. I don't have hledger 1.27 and 1.28 here because there's something wrong with those executables, they are abnormally slow....
And here are the github release binaries since 1.27, on mac. These are intel binaries so run a bit slower than the arm binaries above. They seem to show a...
I notice that `env time` (/usr/bin/time) shows memory and swap usage, which is handy. You're right that my numbers tend to show a slowdown that's actually more like 30-50% (I...
Another idea - it could possibly be a GHC bug on your platform ? I would check the output of `hledger +RTS --info` for each of your executables. That will...
Good info, thanks. You could try building 1.29 with GHC 9.2 like so: ``` git switch 1.29-branch stack install hledger --resolver lts-20.26 ```
Thank you ! Whereas I, of course 😅, see no slowdown at that commit (ghc 9.4.8 on mac arm): ``` ~/src/hledger$ just bench -w hledger-preslow,hledger-slow Running quick benchmarks (times are...