<i>clock command is 8 times slower with Tcl 9.0b1</i> status still Open with 3 other changes
by
.
D 2024-02-26T13:22:48.315
J icomment Heavy\sregression\sseems\sto\sbe\sonly\sfor\s`clock\sscan`,\sand\salso\sfor\srelative\stime\scalculation\sonly,\shere\scomparison\s9.0\svs\s8.6:\r\n\r\n```diff\r\n\s\s%\stimerate\s{\sclock\sformat\s1600000000\s-format\s{%d/%m/%Y}\s}\r\n-\s8.015277\sµs/#\s124762\s#\s124761\s#/sec\s1000.002\snet-ms\r\n+\s8.225095\sµs/#\s121580\s#\s121579\s#/sec\s1000.007\snet-ms\r\n\s\s%\stimerate\s{\sclock\sscan\s{13/09/2020}\s}\r\n-\s9.767075\sµs/#\s102385\s#\s102384\s#/sec\s1000.002\snet-ms\r\n+\s9.409933\sµs/#\s106271\s#\s106270\s#/sec\s1000.003\snet-ms\r\n\s\s#\sbut:\r\n\s\s%\stimerate\s{\sclock\sscan\s{+1\smonths}\s}\r\n-\s91.2549\sµs/#\s10959\s#\s10958.3\s#/sec\s1000.062\snet-ms\r\n+\s29.5314\sµs/#\s33863\s#\s33862.3\s#/sec\s1000.022\snet-ms\r\n\s\s%\stimerate\s{\sclock\sscan\s{+1\sday}\s}\r\n-\s90.3502\sµs/#\s11069\s#\s11068.0\s#/sec\s1000.086\snet-ms\r\n+\s30.9479\sµs/#\s32313\s#\s32312.4\s#/sec\s1000.019\snet-ms\r\n\s\s#\showever:\r\n\s\s%\stimerate\s{\sclock\sscan\s{1\syear\s1\smonth\s1\sday\s1\shour\s1\sminute\s1\ssecond}\s}\r\n-\s92.3471\sµs/#\s10829\s#\s10828.7\s#/sec\s1000.027\snet-ms\r\n+\s31.9452\sµs/#\s31304\s#\s31303.6\s#/sec\s1000.013\snet-ms\r\n```\r\nThe\ssecond\slast\sillustrates\sthat\sthis\soccurs\snot\sin\syacc/bison\sparser\sor\slex\stransformation,\sbut\srather\sby\sinternal\scalculation\ssomewhere\saround\srelative\stime\sadjustment.\r\n\r\nThis\sconfirms\sthat\stoo:\r\n\r\n```diff\r\n\s\s%\stimerate\s{\sclock\sadd\s[clock\sseconds]\s1\syear\s1\smonth\s1\sday\s1\shour\s1\sminute\s1\ssecond\s}\r\n-\s82.0134\sµs/#\s12194\s#\s12193.1\s#/sec\s1000.072\snet-ms\r\n+\s26.4807\sµs/#\s37764\s#\s37763.4\s#/sec\s1000.017\snet-ms\r\n```\r\n\r\nAnd\syes,\stclclockmod\sseems\sto\sbe\snot\saffected\s(works\sfor\s9.0\swith\sexactly\sthe\ssame\sspeed\sas\sfor\s8.6/8.7).
J login sebres
J mimetype text/x-markdown
K e02798626dfbcd7b33db19e0fc3a9fb9fa0714f4
U sebres
Z 29af72ab28cbdec5c4d103d57c4f449f