From 89c5f3d9da7d5876ce5bb8308e2cab24c0f8cbd0 Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Tue, 19 Apr 2022 10:34:26 +0200 Subject: [PATCH] Add qrcode readme --- qrcode/README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 qrcode/README.md diff --git a/qrcode/README.md b/qrcode/README.md new file mode 100644 index 0000000..65d44db --- /dev/null +++ b/qrcode/README.md @@ -0,0 +1,38 @@ +# qrcode + +## Who + +``` +github.com/boombuler/barcode v1.0.1 +github.com/cristalhq/qrcode v0.0.0-00010101000000-000000000000 +github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e +github.com/yeqown/go-qrcode v1.5.10 +rsc.io/qr v0.2.0 +``` + +## Where + +``` +MacBook Pro (15-inch, 2017) +2,8 GHz Quad-Core Intel Core i7 +16 GB 2133 MHz LPDDR3 +``` + +## How + +```shell script +# build & run benchmark +$ make run + +# or in steps + +# build test executable +$ go test -c -o qrcode-bench.exec + +# run executable +$ time ./qrcode-bench.exec -v -benchmem -bench ^Benchmark -count 5 -run ^$ > bench.txt +``` + +## Results + +See [bench.txt](https://github.com/cristalhq/benchmarks/blob/main/qrcode/bench.txt)