Skip to content

Benchmark test

olyutorskii edited this page May 9, 2017 · 3 revisions

Test environment:

  • Core i5 750 4-core 8MB-Cache 2.66GHz
  • 8GB DRAM
  • Windows 10 64bit
  • Oracle JDK 1.8.0_131 (64bit) server VM

Input:

int[] array pre-filled with random values

Output:

Implementation of java.io.Writer which ignores any input.

Comparison:

  • java.io.PrintWriter#print(int)
  • io.github.olyutorskii.jarabradix.DecimalWriter#print(int) Ver. 1.101.2

Test Size:

  • array size 1,000,000
  • iteration 50 times

Result:

  • PrintWriter 4314ms
  • DecimalWriter 2680ms

olyutorskii 2017-05-07

Clone this wiki locally