From e3a6ca1cf1aafafa90b2e5fd6e3adc00ce7fb9f0 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 1 Dec 2026 03:41:48 +0000 Subject: [PATCH] add Benchmark (go) benchmark result for f367ce618eb14ce9cb977403c7d760194e2c11d8 --- docs/bench/data.js | 218 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 217 insertions(+), 1 deletion(-) diff --git a/docs/bench/data.js b/docs/bench/data.js index 281a322..9fe3fd1 100644 --- a/docs/bench/data.js +++ b/docs/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1795923970355, + "lastUpdate": 1796096508367, "repoUrl": "https://github.com/lukaszraczylo/gohoarder", "entries": { "Benchmark": [ @@ -12644,6 +12644,222 @@ window.BENCHMARK_DATA = { "extra": "2752954 times\n8 procs" } ] + }, + { + "commit": { + "author": { + "email": "lukasz@raczylo.com", + "name": "Lukasz Raczylo", + "username": "lukaszraczylo" + }, + "committer": { + "email": "lukasz@raczylo.com", + "name": "Lukasz Raczylo", + "username": "lukaszraczylo" + }, + "distinct": true, + "id": "f367ce618eb14ce9cb977403c7d760194e2c11d8", + "message": "fix(scanner): stop trivy scans from updating the database\n\nEach trivy scan updated the vulnerability database when the database was\nstale. Six concurrent rescans then downloaded it at the same time. A\ndownload took about 11 seconds alone and 38 seconds under contention.\nFive of six trivy processes crashed with SIGBUS, because they read a\ndatabase that another process replaced. The other scans hit their timeout.\n\nScans now run with --skip-db-update. A refresh loop updates the database\nevery 6 hours (trivy.db_update_interval). Scans hold a read lock and an\nupdate holds the write lock, so an update never replaces the database\nunder a running scan. A scan that finds no database downloads it once\nbefore it scans.\n\nThe grype refresh loop moves to the dbrefresh package, which both scanners\nuse.", + "timestamp": "2026-12-01T03:20:49Z", + "tree_id": "9ad3a546f3d5327381ceea6e939fa34b5bf58759", + "url": "https://github.com/lukaszraczylo/gohoarder/commit/f367ce618eb14ce9cb977403c7d760194e2c11d8" + }, + "date": 1796096507570, + "tool": "go", + "benches": [ + { + "name": "BenchmarkDefault (github.com/lukaszraczylo/gohoarder/pkg/config)", + "value": 239.4, + "unit": "ns/op\t 1408 B/op\t 1 allocs/op", + "extra": "4889979 times\n8 procs" + }, + { + "name": "BenchmarkDefault (github.com/lukaszraczylo/gohoarder/pkg/config) - ns/op", + "value": 239.4, + "unit": "ns/op", + "extra": "4889979 times\n8 procs" + }, + { + "name": "BenchmarkDefault (github.com/lukaszraczylo/gohoarder/pkg/config) - B/op", + "value": 1408, + "unit": "B/op", + "extra": "4889979 times\n8 procs" + }, + { + "name": "BenchmarkDefault (github.com/lukaszraczylo/gohoarder/pkg/config) - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "4889979 times\n8 procs" + }, + { + "name": "BenchmarkValidate (github.com/lukaszraczylo/gohoarder/pkg/config)", + "value": 366.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3332694 times\n8 procs" + }, + { + "name": "BenchmarkValidate (github.com/lukaszraczylo/gohoarder/pkg/config) - ns/op", + "value": 366.7, + "unit": "ns/op", + "extra": "3332694 times\n8 procs" + }, + { + "name": "BenchmarkValidate (github.com/lukaszraczylo/gohoarder/pkg/config) - B/op", + "value": 0, + "unit": "B/op", + "extra": "3332694 times\n8 procs" + }, + { + "name": "BenchmarkValidate (github.com/lukaszraczylo/gohoarder/pkg/config) - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "3332694 times\n8 procs" + }, + { + "name": "BenchmarkNewError (github.com/lukaszraczylo/gohoarder/pkg/errors)", + "value": 0.2928, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewError (github.com/lukaszraczylo/gohoarder/pkg/errors) - ns/op", + "value": 0.2928, + "unit": "ns/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewError (github.com/lukaszraczylo/gohoarder/pkg/errors) - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewError (github.com/lukaszraczylo/gohoarder/pkg/errors) - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewErrorWithDetails (github.com/lukaszraczylo/gohoarder/pkg/errors)", + "value": 0.2679, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewErrorWithDetails (github.com/lukaszraczylo/gohoarder/pkg/errors) - ns/op", + "value": 0.2679, + "unit": "ns/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewErrorWithDetails (github.com/lukaszraczylo/gohoarder/pkg/errors) - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkNewErrorWithDetails (github.com/lukaszraczylo/gohoarder/pkg/errors) - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemPut (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem)", + "value": 141024, + "unit": "ns/op\t 2843 B/op\t 41 allocs/op", + "extra": "8709 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemPut (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem) - ns/op", + "value": 141024, + "unit": "ns/op", + "extra": "8709 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemPut (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem) - B/op", + "value": 2843, + "unit": "B/op", + "extra": "8709 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemPut (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem) - allocs/op", + "value": 41, + "unit": "allocs/op", + "extra": "8709 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemGet (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem)", + "value": 17558, + "unit": "ns/op\t 2376 B/op\t 8 allocs/op", + "extra": "94296 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemGet (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem) - ns/op", + "value": 17558, + "unit": "ns/op", + "extra": "94296 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemGet (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem) - B/op", + "value": 2376, + "unit": "B/op", + "extra": "94296 times\n8 procs" + }, + { + "name": "BenchmarkFilesystemGet (github.com/lukaszraczylo/gohoarder/pkg/storage/filesystem) - allocs/op", + "value": 8, + "unit": "allocs/op", + "extra": "94296 times\n8 procs" + }, + { + "name": "BenchmarkNew (github.com/lukaszraczylo/gohoarder/pkg/uuid)", + "value": 46.94, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "26348323 times\n8 procs" + }, + { + "name": "BenchmarkNew (github.com/lukaszraczylo/gohoarder/pkg/uuid) - ns/op", + "value": 46.94, + "unit": "ns/op", + "extra": "26348323 times\n8 procs" + }, + { + "name": "BenchmarkNew (github.com/lukaszraczylo/gohoarder/pkg/uuid) - B/op", + "value": 0, + "unit": "B/op", + "extra": "26348323 times\n8 procs" + }, + { + "name": "BenchmarkNew (github.com/lukaszraczylo/gohoarder/pkg/uuid) - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "26348323 times\n8 procs" + }, + { + "name": "BenchmarkString (github.com/lukaszraczylo/gohoarder/pkg/uuid)", + "value": 282.9, + "unit": "ns/op\t 184 B/op\t 7 allocs/op", + "extra": "3934822 times\n8 procs" + }, + { + "name": "BenchmarkString (github.com/lukaszraczylo/gohoarder/pkg/uuid) - ns/op", + "value": 282.9, + "unit": "ns/op", + "extra": "3934822 times\n8 procs" + }, + { + "name": "BenchmarkString (github.com/lukaszraczylo/gohoarder/pkg/uuid) - B/op", + "value": 184, + "unit": "B/op", + "extra": "3934822 times\n8 procs" + }, + { + "name": "BenchmarkString (github.com/lukaszraczylo/gohoarder/pkg/uuid) - allocs/op", + "value": 7, + "unit": "allocs/op", + "extra": "3934822 times\n8 procs" + } + ] } ] }