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
The time for matching is number of files * time to match each file. The time to check each file can also grow, in the worst case, exponentially, especially when a rule has a lot of matches in subpatterns. However, the default settings of --timeout 30 --timeout-threshold 3 means that a file times out if:
30 seconds elapse without the match process completing
3 rules time out
However, the default --timeout assignment is 5s and not 30s.
The text was updated successfully, but these errors were encountered:
Currently, https://semgrep.dev/docs/kb/rules/rule-file-perf-principles states:
The time for matching is number of files * time to match each file. The time to check each file can also grow, in the worst case, exponentially, especially when a rule has a lot of matches in subpatterns. However, the default settings of --timeout 30 --timeout-threshold 3 means that a file times out if:
30 seconds elapse without the match process completing
3 rules time out
However, the default
--timeout
assignment is 5s and not 30s.The text was updated successfully, but these errors were encountered: