3 ms·
Hey, thanks for taking the interest and the time to audit and benchmark. You can get a rough idea of VM startup time by running a simple hello world program.
by thecodrr 7y ago
Hey, thanks for taking the interest and the time to audit and benchmark.
You can get a rough idea of VM startup time by running a simple hello world program.
fdir is supposed to compete against nodejs alternatives so I am not surprised it comes last. Maybe the next goal should be to optimize it against other cross language platforms.
V8 does a lot of optimizations but there is still overhead. A native solution in bash has little to no overhead so no wonder it's the fastest.
Anyway, thanks again. This benchmark was insightful (also humbling).
- BiteCode_dev 7y agoGonna add test with hello world to see vm startup time.
- thecodrr 7y agoIf we subtract the vm time from total time that should (very roughly) be the time taken for fdir to crawl the directory. So basically: 83ms - 55ms = 28ms Not bad, not bad. :D the scale remains the same tho so not that beneficial.