Skip to content

More jit profiling#188

Merged
fitzgen merged 8 commits into
mozilla:masterfrom
fitzgen:more-jit-profiling
Jul 1, 2015
Merged

More jit profiling#188
fitzgen merged 8 commits into
mozilla:masterfrom
fitzgen:more-jit-profiling

Conversation

@fitzgen

@fitzgen fitzgen commented Jun 26, 2015

Copy link
Copy Markdown
Contributor

r? @ejpbruel

A couple code clean ups and also some more big perf gains parsing source maps.

Notable gains are

  • Helping TI out with a constructor for mappings
  • Not eagerly inflating source names, which lets us compare source indices rather than strings when comparing mappings.

fitzgen added 8 commits June 26, 2015 14:17
…eck length when parsing a segment the first time
If we do not inflate the names/sources, then we can compare their indices when
sorting mappings rather than doing string comparisons. This is a huge boost to
performance of parsing source maps, as strcmp was taking about 35% of time.
@ejpbruel

ejpbruel commented Jul 1, 2015

Copy link
Copy Markdown
Contributor

This patch looks good to me. Good catch Nick!

fitzgen added a commit that referenced this pull request Jul 1, 2015
@fitzgen fitzgen merged commit 6d8cb58 into mozilla:master Jul 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants