We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7cf2af commit e8d7fa4Copy full SHA for e8d7fa4
1 file changed
src/main/java/net/rptools/maptool/client/ui/zone/renderer/ZoneRenderer.java
@@ -31,6 +31,7 @@
31
import java.text.NumberFormat;
32
import java.util.*;
33
import java.util.List;
34
+import java.util.concurrent.TimeUnit;
35
import java.util.stream.Collectors;
36
import javax.annotation.Nonnull;
37
import javax.annotation.Nullable;
@@ -704,7 +705,8 @@ public void paintComponent(Graphics g) {
704
705
CodeTimer.using(
706
"ZoneRenderer.renderZone",
707
timer -> {
- timer.setThreshold(10);
708
+ timer.setThreshold(1, TimeUnit.MICROSECONDS);
709
+ timer.setReportingUnit(TimeUnit.MICROSECONDS);
710
711
if (!viewModel.isUsingGdxRenderer()) {
712
timer.start("paintComponent");
0 commit comments