[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Gerardo Tasistro wrote:I've ended up doing a simple test on how long it takes Java to do 20 million iterations on a for loop. Simple code:
He's the thing. If I contain this loop inside another loop (say 10 iterations) the following happens.
In Linux the time it takes to do the 20M loop starts at say 25 milliseconds. Then drops to 0 ms after the third or fourth iteration.
Doing the same test on Windows all loops seem to take about the same time (25-30 ms) all the way through the 10 iterations.
Why does the time drop on Linux to practically 0 and not on Windows?
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
steve souza wrote:Make sure both are running in the same mode say client or server. I would run such a test in server mode.
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|