-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade go-sqlite to the latest version #784
Conversation
Yes since its only used in that test Co-authored-by: Pedro Gomes <[email protected]>
Co-authored-by: Pedro Gomes <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #784 +/- ##
==========================================
+ Coverage 62.50% 62.58% +0.08%
==========================================
Files 199 199
Lines 18153 18165 +12
==========================================
+ Hits 11346 11369 +23
+ Misses 5723 5715 -8
+ Partials 1084 1081 -3 ☔ View full report in Codecov by Sentry. |
On darwin arm64, with
|
On darwin arm64, with
|
On linux amd64, with
|
On linux amd64 with
|
Co-authored-by: libotony <[email protected]>
@claytonneal The command I have used for the benchmark go test -bench="^Benchmark" -benchmem -count=5 github.com/vechain/thor/v2/logdb -dbPath <path-to-logs.db> |tee -a master.txt
go test -bench="^Benchmark" -benchmem -count=5 github.com/vechain/thor/v2/logdb -dbPath <path-to-logs.db> |tee -a pr.txt
benchstat maser.txt pr.txt |
There are my results for the mainnet data
And testnet data
And the raw results: |
Description
This PR is an update to #775
Upgrades the minimum version of go from 1.21 to the latest stable version which is 1.22.4.
Upgrades Sqlite3 version from 3.41 to 3.45
Adds logdb benchmarks.
Upgrade Golang + Golangci-lint
Upgrades all golang usage to 1.22 and the linter to 1.59.0.
It's possible to upgrade golang usage to 1.22 and the
linter to 1.59.1
by doing the following these commands:Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration
Test Configuration:
Checklist: