JavaScript String Performance

Some great work by Dave K this week looking at string concatenation performance for Quantiv’s Planner application. The results below enabled us to drop a custom ExtJS grid’s template rendering time from ~6s to a few hundred milliseconds, with consistent results across browsers. There is also a significant difference between Chrome and the rest of the browser universe!

Results: http://jsperf.com/string-concat-vs-regex-replace/2

P.N.