Overview
| Artifact ID: | 9d7bf4026dee92012b94785de5a6536eb9f099df |
|---|---|
| Ticket: | 3396731fffffffffffffffffffffffffffffffff
inline string reverse |
| User & Date: | dgp on 2011-08-25 23:36:30 |
Changes
- icomment:
I've also extended the "reverse core" benchmarks in tclbench so that it includes testing the reversal of strings of length 4000 and 40000 chars to get a more complete picture of scalability. Then looking at several variants I get this: Column 1 = "trunk before we started attempting these patches" Column 2 = "revert branch tip (my patch)" Column 3 = "current trunk (your patch)" Column 4 = "8.5 branch" 001 STR reverse core, 10 c 3.49 3.49 3.69 2.78 002 STR reverse core, 10 uc 3.67 3.69 3.37 2.92 003 STR reverse core, 100 c 3.67 3.67 5.31 2.89 004 STR reverse core, 100 uc 3.78 3.85 3.54 3.10 005 STR reverse core, 400 c 4.03 4.21 10.78 3.28 006 STR reverse core, 400 uc 4.17 4.38 4.03 3.67 007 STR reverse core, 4000 c 8.43 10.69 75.14 7.66 008 STR reverse core, 4000 uc 8.54 10.97 10.59 10.25 009 STR reverse core, 40000 c 58.18 76.50 724.64 54.33 010 STR reverse core, 40000 uc 55.26 76.70 76.08 75.76 At least for the code paths covered by the benchmarks, the current trunk is clearly worst and has some severe scaling problem. My patch is better than that, but still not as good as the trunk was before any of us started doing anything.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"