-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
CodSpeed is good, but has some anomalies.
In particular:
- All system calls (e.g. system allocator) are "free" on Codspeed's measures.
- They say it doesn't take into account the branch predictor.
Mispredicted branches can be a significant perf hit, which we're failing to measure. In particular, I have some ideas to replace branching in lexer with straight-line code (#108). I suspect this could be a significant gain, but it won't register on current CodSpeed benchmarks - so we can't evaluate this at present.
Possible solution
Introduce wallclock benchmarks (not run with Valgrind) in addition to the existing benchmarks.
How?
Can use the same hack I wrote to run NAPI benchmarks as normal wallclock benchmarks and get the results into CodSpeed.
An improvement would be if it's possible to synthesize fake .out files to send to CodSpeed.
Metadata
Metadata
Assignees
Labels
No labels