-
-
Notifications
You must be signed in to change notification settings - Fork 378
1.26-: performance: current hledger is ~50% slower than 1.25 #2122
Copy link
Copy link
Open
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance2-minorMinor to moderate usability/doc bug, reasonably easy to avoid or tolerate.Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.performanceAnything performance-related (run time, memory usage, disk space..)Anything performance-related (run time, memory usage, disk space..)
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance2-minorMinor to moderate usability/doc bug, reasonably easy to avoid or tolerate.Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.performanceAnything performance-related (run time, memory usage, disk space..)Anything performance-related (run time, memory usage, disk space..)
This issue is discussing moderate drops in general performance seen in hledger 1.26 and later releases like hledger 1.32.3.
(There was also a more serious performance regression affecting 1.29-1.32.2 with many accounts, see #2153.
The issue for comparing hledger vs Ledger performance is #2363.)
I tend to see this (register much faster, but print and balance a bit slower) in recent releases:
More notably, right now on this machine I can see ~25k TPS with hledger 1.25
stats, but only ~15k TPS with 1.32. A new round of profiling could be in order.Related: