Skip to content

Instantly share code, notes, and snippets.

; compile this like:
; nasm -f elf64 decode-test.s
default rel
BITS 64
GLOBAL _start
_start:
; iteration count, doesn't really matter much for the purposes of this test
mov rsi, 1_000_000
; compile this like:
; nasm -f elf64 decode-test.s
default rel
BITS 64
GLOBAL _start
_start:
; iteration count, doesn't really matter much for the purposes of this test
mov rsi, 1_000_000
package whatever;
import java.util.function.Supplier;
import org.apache.commons.lang3.concurrent.ConcurrentException;
import org.apache.commons.lang3.concurrent.LazyInitializer;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.CompilerControl;
import org.openjdk.jmh.annotations.CompilerControl.Mode;
import org.openjdk.jmh.annotations.Level;
package net.tdowns;
import java.util.Arrays;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.Param;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
package foo;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map.Entry;
import java.util.Scanner;
import java.util.concurrent.CompletionService;
import java.util.concurrent.ConcurrentHashMap;