From 0af50e19dbdf782edec8822682f5e536eb292c08 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Fri, 24 Nov 2023 02:23:31 +0000 Subject: [PATCH] add Benchmark (go) benchmark result for 5e490445eec37797dc8d15e5e328eff8851c6d27 --- benchmarks/data.js | 134 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 133 insertions(+), 1 deletion(-) diff --git a/benchmarks/data.js b/benchmarks/data.js index 5b5dba7..fae0608 100644 --- a/benchmarks/data.js +++ b/benchmarks/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1700645337194, + "lastUpdate": 1700792611156, "repoUrl": "https://github.com/sunhailin-Leo/easytokenizer-to-go", "entries": { "Benchmark": [ @@ -254,6 +254,138 @@ window.BENCHMARK_DATA = { "extra": "123138 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "379978424@qq.com", + "name": "sunhailinLeo", + "username": "sunhailin-Leo" + }, + "committer": { + "email": "379978424@qq.com", + "name": "sunhailinLeo", + "username": "sunhailin-Leo" + }, + "distinct": true, + "id": "5e490445eec37797dc8d15e5e328eff8851c6d27", + "message": "update some free function", + "timestamp": "2023-11-24T10:22:33+08:00", + "tree_id": "96f293080e32bb9319f501dac4bc9e710b3cb75f", + "url": "https://github.com/sunhailin-Leo/easytokenizer-to-go/commit/5e490445eec37797dc8d15e5e328eff8851c6d27" + }, + "date": 1700792610748, + "tool": "go", + "benches": [ + { + "name": "BenchmarkChineseEncode - ns/op", + "value": 1523, + "unit": "ns/op", + "extra": "760940 times\n4 procs" + }, + { + "name": "BenchmarkChineseEncode - B/op", + "value": 192, + "unit": "B/op", + "extra": "760940 times\n4 procs" + }, + { + "name": "BenchmarkChineseEncode - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "760940 times\n4 procs" + }, + { + "name": "BenchmarkChineseEncodeWithIds - ns/op", + "value": 2353, + "unit": "ns/op", + "extra": "472723 times\n4 procs" + }, + { + "name": "BenchmarkChineseEncodeWithIds - B/op", + "value": 752, + "unit": "B/op", + "extra": "472723 times\n4 procs" + }, + { + "name": "BenchmarkChineseEncodeWithIds - allocs/op", + "value": 12, + "unit": "allocs/op", + "extra": "472723 times\n4 procs" + }, + { + "name": "BenchmarkChineseWordPieceTokenize - ns/op", + "value": 2842, + "unit": "ns/op", + "extra": "397837 times\n4 procs" + }, + { + "name": "BenchmarkChineseWordPieceTokenize - B/op", + "value": 440, + "unit": "B/op", + "extra": "397837 times\n4 procs" + }, + { + "name": "BenchmarkChineseWordPieceTokenize - allocs/op", + "value": 21, + "unit": "allocs/op", + "extra": "397837 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncode - ns/op", + "value": 7194, + "unit": "ns/op", + "extra": "161852 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncode - B/op", + "value": 256, + "unit": "B/op", + "extra": "161852 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncode - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "161852 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncodeWithIds - ns/op", + "value": 8534, + "unit": "ns/op", + "extra": "138924 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncodeWithIds - B/op", + "value": 1104, + "unit": "B/op", + "extra": "138924 times\n4 procs" + }, + { + "name": "BenchmarkThaiEncodeWithIds - allocs/op", + "value": 12, + "unit": "allocs/op", + "extra": "138924 times\n4 procs" + }, + { + "name": "BenchmarkThaiWordPieceTokenize - ns/op", + "value": 10397, + "unit": "ns/op", + "extra": "117658 times\n4 procs" + }, + { + "name": "BenchmarkThaiWordPieceTokenize - B/op", + "value": 1056, + "unit": "B/op", + "extra": "117658 times\n4 procs" + }, + { + "name": "BenchmarkThaiWordPieceTokenize - allocs/op", + "value": 40, + "unit": "allocs/op", + "extra": "117658 times\n4 procs" + } + ] } ] }