PEZ/ghost-chase-condition
View on GitHub ↗ ★ 2 Java
Chasing a performance-eating ghost down the JVM rabbit hole
7 mentions on Hacker News by 2 people: 0 stories, 7 comments · first 2022-02-06 · latest 2022-02-08
20082026
-
Thanks! It does and it does not. Here's 100 rounds where it does: https://github.com/PEZ/ghost-chase-condition/tree/master/tes... But in other cases I have it seems to not help that much. Not sure how to minimize those, but will try figure…
comment by cospaia · 2022-02-08 · in Java BitSet performance-flicker mystery -
…78498, Valid: true Running on: JDK 11.0.8 on Windows, with somewhat old Intel Core i7-3740QM [1] https://github.com/PEZ/ghost-chase-condition/tree/master/tes...
comment by Codeguard · 2022-02-06 · in Java BitSet performance-flicker mystery -
…I have conducted some of the experiments and tried to summarize them in a reproducible way here: https://github.com/PEZ/ghost-chase-condition/tree/master/tes...
comment by cospaia · 2022-02-06 · in Java BitSet performance-flicker mystery -
…of booleans. Just to demonstrate my observations that then the performance is perfectly stable. https://github.com/PEZ/ghost-chase-condition/tree/master/tes... Does that affect your analysis in any way?
comment by cospaia · 2022-02-06 · in Java BitSet performance-flicker mystery -
I added this experiment, and the results (spoiler, it isn't getCurrentTimeMillis) here: https://github.com/PEZ/ghost-chase-condition/tree/master/tes...
comment by cospaia · 2022-02-06 · in Java BitSet performance-flicker mystery -
Awesome. Would you consider adding this experiment to the repo? https://github.com/PEZ/ghost-chase-condition/tree/master/tes... Or, if that's a too big ask, just give me some hints how to do it, and i'll update the repo.
comment by cospaia · 2022-02-06 · in Java BitSet performance-flicker mystery -
I've now made an experiment that removes System.currentTimeMillis() as a suspect: https://github.com/PEZ/ghost-chase-condition/tree/master/tes...
comment by cospaia · 2022-02-06 · in Java BitSet performance-flicker mystery