This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.api.services.bigquery.model.TableFieldSchema | |
import com.google.api.services.bigquery.model.TableSchema | |
import org.joda.time.Instant | |
import shapeless._ | |
import shapeless.ops.hlist.FillWith | |
import shapeless.ops.hlist.Mapper | |
import shapeless.ops.hlist.ToList | |
import shapeless.ops.record.Keys | |
import shapeless.ops.record.Values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import $ivy.`com.github.tkrs::orcus-bigtable:0.25.2` | |
import $ivy.`com.github.tkrs::orcus-cats-effect:0.25.2` | |
import $ivy.`com.github.tkrs::mess-core:0.2.4` | |
import $ivy.`com.github.scopt::scopt:4.0.0` | |
import java.time.Instant | |
import cats.effect.IO | |
import cats.instances.map._ | |
import cats.syntax.all._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"database/sql" | |
"database/sql/driver" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "mess.bench.PackBench.encodeLong10", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 2, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
"-server", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> sbt "benchmark/jmh:run -p threads=8,16,32 -t 8 -prof gc -rf json" | |
[info] Benchmark (size) (threads) Mode Cnt Score Error Units | |
[info] o.async.benchmark.ArrowsTwitterAsyncHandler.bench N/A 8 thrpt 20 20309.348 卤 1636.720 ops/s | |
[info] o.async.benchmark.ArrowsTwitterAsyncHandler.bench:路gc.alloc.rate N/A 8 thrpt 20 1118.660 卤 177.257 MB/sec | |
[info] o.async.benchmark.ArrowsTwitterAsyncHandler.bench:路gc.alloc.rate.norm N/A 8 thrpt 20 63807.306 卤 9571.187 B/op | |
[info] o.async.benchmark.ArrowsTwitterAsyncHandler.bench:路gc.churn.PS_Eden_Space N/A 8 thrpt 20 1194.851 卤 112.504 MB/sec | |
[info] o.async.benchmark.ArrowsTwitterAsyncHandler.bench:路gc.churn.PS_Eden_Space.norm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "PackBench.encodeLong10", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 2, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "fluflu.msgpack.AstBench.encodeLong10Circe", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 2, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
"-XX:+UseG1GC", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "fluflu.msgpack.Bench.encodeLong10Circe", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 2, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
"-XX:+UseG1GC", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "bench.Case1.decodeArgonaut", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 2, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
"-XX:+UseG1GC", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"compress/gzip" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
NewerOlder