samsonjs/strftime

performance regressions

Closed this issue · 1 comments

This compares the original (slow) strftime with the initial perf improvement, strftimeV2, and then finally to the current master which is a candidate for v0.9. There have been regressions since merging so we should try to tighten things back up as much as possible. http://jsperf.com/strftime-optimization/5

Well this was easy to track down. jsperf uses the wrapper function, which adapts the old API to the new API and shows a deprecation notice, and that introduces a performance penalty. It's still way faster than the old version so this isn't a problem at all.