Files
java-interview-lab/food-delivery/output/09-stock-race.txt
T

8 lines
333 B
Plaintext

16 buyers, 10 portions, 5000 rounds
===================================
Timing dependent: the naive counts differ from run to run; the locked counts never do.
naive (check, then write): rounds that sold more than 10: 21 of 5000, worst round sold 12
locked (check and write together): rounds that oversold: 0, undersold: 0 of 5000