Skip to content

Commit

Permalink
temporary deliberate slowdown
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Jul 17, 2023
1 parent de7e1b5 commit 1fe1b80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nullaway/src/main/java/com/uber/nullaway/NullAway.java
Original file line number Diff line number Diff line change
Expand Up @@ -1384,6 +1384,12 @@ private boolean classAnnotationIntroducesPartialMarking(Symbol.ClassSymbol class

@Override
public Description matchClass(ClassTree tree, VisitorState state) {
// TEMPORARY CHANGE TO TEST PERF BENCHMARKING IN CI
try {
Thread.sleep(10);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
// Ensure codeAnnotationInfo is initialized here since it requires access to the Context,
// which is not available in the constructor
if (codeAnnotationInfo == null) {
Expand Down

0 comments on commit 1fe1b80

Please sign in to comment.