-
Notifications
You must be signed in to change notification settings - Fork 0
License
volodin-aa/openjdk-benchmark
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fast equalsIgnoreCase(...) for JDK 9 test. *Fast - tests optimized version *Jdk9 - tests extracted version from JDK 9 *String - tests java String Run with maven: # mvn clean install exec:exec # JMH 1.12 (released 30 days ago) # VM version: JDK 9-ea, VM 9-ea+116 # VM invoker: C:\Program Files\Java\jdk-9\bin\java.exe # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Average time, time/op Benchmark Mode Cnt Score Error Units StringEqualsIgnoreCaseBenchmark.constConstFast avgt 20 23,673 ▒ 0,071 ns/op StringEqualsIgnoreCaseBenchmark.constConstJdk9 avgt 20 39,040 ▒ 0,497 ns/op StringEqualsIgnoreCaseBenchmark.constConstString avgt 20 18,959 ▒ 0,041 ns/op StringEqualsIgnoreCaseBenchmark.initNewFast avgt 20 50,760 ▒ 0,610 ns/op StringEqualsIgnoreCaseBenchmark.initNewJdk9 avgt 20 51,052 ▒ 0,714 ns/op StringEqualsIgnoreCaseBenchmark.initNewString avgt 20 29,925 ▒ 0,297 ns/op StringEqualsIgnoreCaseBenchmark.newNewFast avgt 20 69,343 ▒ 0,750 ns/op StringEqualsIgnoreCaseBenchmark.newNewJdk9 avgt 20 99,967 ▒ 1,285 ns/op StringEqualsIgnoreCaseBenchmark.newNewString avgt 20 54,044 ▒ 0,453 ns/op StringEqualsIgnoreCaseBenchmark.varVarFast avgt 20 23,174 ▒ 0,054 ns/op StringEqualsIgnoreCaseBenchmark.varVarJdk9 avgt 20 35,282 ▒ 0,449 ns/op StringEqualsIgnoreCaseBenchmark.varVarString avgt 20 19,212 ▒ 0,026 ns/op ------------------------------------------------------------------------ Self test: String: "string".equalsIgnoreCase("String") == true FastString: "string".equalsIgnoreCase("String") == true Jdk9String: "string".equalsIgnoreCase("String") == true
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published