Overview
| Artifact ID: | 12da65bc0188697ed4ec1e457540d738ddb33ad40e5bce3fb718c461f8dcc6a3 |
|---|---|
| Ticket: | 52fd7694564161f7a1ee24b073a5af8cf5675e08
cmdMZ-6.6 fails on low performance system |
| User & Date: | serhiy.storchaka on 2026-10-20 13:46:54 |
Changes
- icomment:
The thresholds are unchanged on main, 9.0 and 8.6: cmdMZ-6.6 requires the 10 µs case to cost less than 100 µs per call and to run more than 500 times at more than 10000/s, a fixed budget for the interpreter overhead. A possible fix is to compare it with the 1 ms case instead (ideally 100 times faster; 5 times leaves room for slow systems): <verbatim> - [expr {[lindex $m1 0] < 100}] \ + [expr {[lindex $m1 0] * 5 < [lindex $m2 0]}] \ - [expr {[lindex $m1 2] > 500}] \ + [expr {[lindex $m1 2] > [lindex $m2 2] * 5}] \ - [expr {[lindex $m1 4] > 10000}] \ + [expr {[lindex $m1 4] > [lindex $m2 4] * 5}] \ </verbatim> I could not reproduce the failure (my machine is too fast, also under valgrind), but your numbers pass these checks (108 vs 1093 µs/#, 463 vs 46 #, 9257 vs 914 #/sec). - login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"