News for hackers. Stuff that matters.
Re:Actual JavaScript Engine Performance by kenjackson on Thursday April 21, 2011 @01:26PM (#2471461)
Crockford claims that JSLint is more indicative of true JS performance, but doesn't really explain why. I think we're all predisposed to take him at his word, but I'd still like an explanation

"So I have come up with a benchmark that should be more representative of large, well-written JavaScript applications. It is in fact a popular, large, well-written JavaScript application"

Re:Actual JavaScript Engine Performance by scott_s on Thursday April 21, 2011 @01:51PM (#2471558)
That doesn't fly. It's missing an explanation of the characteristics of JSLint, and how those characteristics are often shared with other large JavaScript applications. My own personal intuition is that JSLint is not representative of typical web applications, so I need convincing.

To get an idea of where I come from regarding this, check out "The Landscape of Parallel Computing Research: A View from Berkeley": http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-18... They systematically classified several different kinds of computational patterns, and explained how those patterns appear in application areas. I don't expect a blog post to have that level of rigor, but I expect something at least in that form.

Re:Actual JavaScript Engine Performance by pjscott on Thursday April 21, 2011 @04:05PM (#2472150)
I would recommend that anybody interested in parallelism check out the article you linked to. It can be a tad verbose, but it's got a lot of really good insights.
Re:Actual JavaScript Engine Performance by ender7 on Thursday April 21, 2011 @01:33PM (#2471492)
At the same time, "Programming Language Analysis Tool With Little To No Front-End or Real-Time Interaction" is not terribly representative of the average web application.

(what exactly is a "Javascript application" anyway? This seems like an attempt to pretend that JS is the only thing required to create a web application...)

Re:Actual JavaScript Engine Performance by dandelany on Thursday April 21, 2011 @01:37PM (#2471513)
Sure, but all "large, well-written JavaScript applications" are not created equal. This test in particular tests JSLint's performance at parsing its own JS source file. How many large Javascript applications spend most of their runtime parsing Javascript rather than traversing the DOM? I suspect not many.