You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea: not multiplying methods and merge barrier function
predicate isBarrier(DataFlow::Node node, FlowState state) {
exists(MethodCall ma |
ma = node.asExpr() and
(
exists(Expr e | e = ma.getAnArgument() and e instanceof ParameterOperation) or
ma.getCaller().getName() > state.getName()
)
)
}
Execution time: Timeout (+ 5min)
The text was updated successfully, but these errors were encountered:
Trying to debug some performance issues following #14 (comment)
Testing setup:
Command:
Test on
elasticsearch
codebase version 8.17 ( I generated the DB myself).Test 1
Without
isBarrierOut
: 52sTest 2
With
isBarrierOut: none()
: 51.8sIdea: Does adding
isBarrierOut
change anything?Test 3
Warning: wrong predicate
Idea: Check that accessing the state is not too costly
Execution time: 34s
Test 4
Idea: String comparison
Execution time: Timeout (+ 5min)
Test 5
Warning: wrong predicate
Idea: String comparison is expensive, use integers
Execution time: Timeout (+ 5min)
Test 6
Idea: not multiplying methods and merge barrier function
Execution time: Timeout (+ 5min)
The text was updated successfully, but these errors were encountered: