| ▲ | nickjj 4 days ago | |
Yep, running time on my tool's --version takes 50ms and funny enough processing 10k CSV lines with ~2k lines of Python code takes 100ms, so 50ms of that is just Python preparing things to run by importing 20 or so standard library modules. | ||
| ▲ | zahlman 3 days ago | parent [-] | |
> so 50ms of that is just Python preparing things to run by importing 20 or so standard library modules. Probably a decent chunk of that actually is the Python runtime starting up. I don't know what all you `import` that isn't implied at startup, though. Another chunk might be garbage collection at process exit. | ||