Timing tests, checks and servers
--timings works with kscript's own commands as well as with scripts. After a command, it may go anywhere:
kscript test --all --timings tests.trace.json
kscript check --timings
kscript serve --timings serve.trace.jsonkscript testtimes each test as atest, named as the test runner names it, with its file and line. Its functions and built-ins show up as they would in a script.kscript checktimes each file as afile, with itsanalyseandlintphases.kscript servetimes each request as arequestnamed by its method and path, such asGET /about. The summary prints when the server stops with Ctrl+C. Requests can overlap, so in a.trace.jsonfile they sit on a timeline of their own, namedrequests.