From ba9bda38a7b1f45bf7d43ef96ec11e1279784100 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 21 Nov 2023 03:16:46 +0000 Subject: [PATCH] add Benchmark (go) benchmark result for e7b6f8c4b10548d1bbacb6113819f8c78ff034a3 --- benchmarks/data.js | 68 ++++++++++ benchmarks/index.html | 281 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 349 insertions(+) create mode 100644 benchmarks/data.js create mode 100644 benchmarks/index.html diff --git a/benchmarks/data.js b/benchmarks/data.js new file mode 100644 index 0000000..04a3e05 --- /dev/null +++ b/benchmarks/data.js @@ -0,0 +1,68 @@ +window.BENCHMARK_DATA = { + "lastUpdate": 1700536606545, + "repoUrl": "https://github.com/sunhailin-Leo/easytokenizer-to-go", + "entries": { + "Benchmark": [ + { + "commit": { + "author": { + "email": "379978424@qq.com", + "name": "LeoSun", + "username": "sunhailin-Leo" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "e7b6f8c4b10548d1bbacb6113819f8c78ff034a3", + "message": "Update benchmark.yml", + "timestamp": "2023-11-21T11:16:01+08:00", + "tree_id": "dfe5bf7f69e68a732291f11b50599dcacda2244d", + "url": "https://github.com/sunhailin-Leo/easytokenizer-to-go/commit/e7b6f8c4b10548d1bbacb6113819f8c78ff034a3" + }, + "date": 1700536606102, + "tool": "go", + "benches": [ + { + "name": "BenchmarkChineseEncode", + "value": 1565, + "unit": "ns/op\t 192 B/op\t 1 allocs/op", + "extra": "772414 times\n4 procs" + }, + { + "name": "BenchmarkChineseEncodeWithIds", + "value": 2330, + "unit": "ns/op\t 752 B/op\t 12 allocs/op", + "extra": "466432 times\n4 procs" + }, + { + "name": "BenchmarkChineseWordPieceTokenize", + "value": 2887, + "unit": "ns/op\t 440 B/op\t 21 allocs/op", + "extra": "411492 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncode", + "value": 7475, + "unit": "ns/op\t 256 B/op\t 1 allocs/op", + "extra": "153140 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncodeWithIds", + "value": 8436, + "unit": "ns/op\t 1104 B/op\t 12 allocs/op", + "extra": "141429 times\n4 procs" + }, + { + "name": "BenchmarkThaiWordPieceTokenize", + "value": 10459, + "unit": "ns/op\t 1056 B/op\t 40 allocs/op", + "extra": "114783 times\n4 procs" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/benchmarks/index.html b/benchmarks/index.html new file mode 100644 index 0000000..6c88780 --- /dev/null +++ b/benchmarks/index.html @@ -0,0 +1,281 @@ + + + + + + + Benchmarks + + + + +
+ + + + + + +