Benchmarks

This section contains various micro-benchmarks for languages & libraries on Java, .NET, and native code. All tests come with source code so you can verify the results on your own system.

  • Java Client VM Performance — Compares the performance of Oracle’s Client & Server VM, and shows how to bundle the 32-bit Server VM for Windows deployment.
  • Uncontested Lock Performance — Compares the acquisition of uncontested locks in .NET and Java.
  • RNG Range Projection — Compares various methods of projecting random numbers from a generator’s small native range into large target ranges.
  • .NET Struct Performance — Compares the optimization of user-defined value types, or equivalent small classes, in .NET, C++, Java, and JavaScript.
  • WPF Drawing Performance — Compares the basic drawing performance of .NET’s Windows Presentation Foundation (WPF) and Windows Forms (GDI+).
Published on .
Last edited on .