Skip to content

JavaScript: Add modelling of AMD imports.#467

Merged
semmle-qlci merged 2 commits into
github:masterfrom
xiemaisi:js/amd-imports
Nov 16, 2018
Merged

JavaScript: Add modelling of AMD imports.#467
semmle-qlci merged 2 commits into
github:masterfrom
xiemaisi:js/amd-imports

Conversation

@xiemaisi

Copy link
Copy Markdown

We already modelled exports, but for some reason not imports.

Evaluation report here (internal link), one new result that looks like a TP. The slowdowns on a few projects look disappointing; in fact, it looked even worse at first, so I reran a few outliers, which caused the slowdown to disappear, suggesting that it was probably a fluke. My guess is that this is true for the remaining slowdowns as well (in particular since they are all fairly small projects). I'd be happy to rerun a few more to confirm if desired.

@xiemaisi xiemaisi added the JS label Nov 14, 2018
@xiemaisi xiemaisi requested a review from a team as a code owner November 14, 2018 12:09
@xiemaisi

Copy link
Copy Markdown
Author

Upon rerunning, the >= 5% slowdowns were not reproducible, so on the whole this PR does not seem to affect performance measurably.

@asger-semmle asger-semmle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@semmle-qlci semmle-qlci merged commit 0647743 into github:master Nov 16, 2018
@xiemaisi xiemaisi deleted the js/amd-imports branch November 20, 2018 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants