Load Testing · Senior · Question 72 of 76
Why do JVM services often need a longer warm-up in tests than Go services?
- 1The JIT compiles hot code paths only after they run for a while
- 2JVM services can't serve any requests during warm-up
- 3Go services have no garbage collector at all
Show the answer
Correct answer: The JIT compiles hot code paths only after they run for a while
Explanation
Early requests run interpreted or less optimized code. Measure after warm-up, or test cold start separately if it matters for scaling.