Skip to content

JavaScript: fix performance issue in ServerSideUrlRedirect.qll#75

Merged
semmle-qlci merged 1 commit intogithub:masterfrom
asger-semmle:server-side-url-redirect-performance
Aug 20, 2018
Merged

JavaScript: fix performance issue in ServerSideUrlRedirect.qll#75
semmle-qlci merged 1 commit intogithub:masterfrom
asger-semmle:server-side-url-redirect-performance

Conversation

@asger-semmle
Copy link
Contributor

Fixes a performance issue in ServerSideUrlRedirect discovered while switching to the string concatenation library.

I'm fixing this separately in order to have a "fair" perf comparison of string concatenation library.

The problem was that prefixPred included a reordered copy of all of the flow edges and was subsequently used in a negation, causing it to be materialised.

Performance results.

@asger-semmle asger-semmle requested a review from xiemaisi August 20, 2018 10:09
@asger-semmle asger-semmle requested a review from a team as a code owner August 20, 2018 10:09
Copy link

@xiemaisi xiemaisi left a comment

Choose a reason for hiding this comment

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

LGTM

@xiemaisi xiemaisi added the JS label Aug 20, 2018
@semmle-qlci semmle-qlci merged commit e1f3637 into github:master Aug 20, 2018
aibaars pushed a commit that referenced this pull request Oct 14, 2021
Add AST classes and tests for operations
erik-krogh pushed a commit to erik-krogh/ql that referenced this pull request Dec 15, 2021
erik-krogh pushed a commit to erik-krogh/ql that referenced this pull request Dec 15, 2021
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