• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. HotSpot
  4. MicroBenchmarks

Page History

Versions Compared

Old Version 7

changes.mady.by.user J. Duke

Saved on Oct 15, 2012

compared with

New Version 8

changes.mady.by.user J. Duke

Saved on Oct 15, 2012

  • Previous Change: Difference between versions 6 and 7
  • Next Change: Difference between versions 8 and 9
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rule 7: Reduce noise in your measurements. Run your benchmark on a quiet machine, and run it several times, discarding outliers. Use -Xbatch to serialize the compiler with the application, and consider setting -XX:CICompilerCount=1 to prevent the compiler from running in parallel with itself.

Relevant links

  • http://www.ibm.com/developerworks/java/library/j-jtp02225/index.htmlImage Removed (Brian Goetz article)
  • http://www.azulsystems.com/events/javaone_2002/microbenchmarks.pdfImage Removed (Cliff Click JavaOne talk)
  • http://code.google.com/p/caliper/wiki/JavaMicrobenchmarks (Google micro-benchmark tool)
  • http://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-javaImage Removed (crowd-sourced goodness)
Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 277, "requestCorrelationId": "5c34d6d1f67467b5"}