Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am klim8d on github.
* I am klim (https://keybase.io/klim) on keybase.
* I have a public key whose fingerprint is D1AA EA9F 8E94 F021 4066 560D 79DB CF7A 0993 9566
To claim this, I am signing this object:
@KLIM8D
KLIM8D / SeqInt.java
Created November 19, 2012 10:49
SelectionSort benchmark
public void sortSelection()
{
//Benchmark time start
ThreadMXBean threadmxbean = ManagementFactory.getThreadMXBean();
long startTime;
long finishTime;
startTime = threadmxbean.getCurrentThreadCpuTime();
int arraySize = numbers.length;