-
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
Increase Sqlite version #775
Conversation
Here are the benchmark results before after after the changes of this PR. @libotony @otherview bench_results_formatted_docker_before.txt it looks like there is a slight slowdown from before the changes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #775 +/- ##
==========================================
+ Coverage 62.50% 62.58% +0.07%
==========================================
Files 199 199
Lines 18140 18152 +12
==========================================
+ Hits 11338 11360 +22
+ Misses 5719 5708 -11
- Partials 1083 1084 +1 ☔ View full report in Codecov by Sentry. |
@@ -1,6 +1,6 @@ | |||
module github.com/vechain/thor/v2 | |||
|
|||
go 1.19 | |||
go 1.22.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 1.22 instead of 1.22.4 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why?
Yes since its only used in that test Co-authored-by: Pedro Gomes <[email protected]>
Co-authored-by: Pedro Gomes <[email protected]>
Summary for the benchmark result:
|
I think the perf hit is neglatable - Also, I added https://github.com/vechain/protocol-board-repo/issues/256 where hopefully we can perhaps get some performance gains. |
Per my previous comment, the testing cases are not covering real use case, need to update the test case and check the result again. |
@libotony Here are the benchmark results after incorporating the changes |
The change looks good, could you also post the same test on top of old source code? |
@MakisChristou Looks like your test result is on arm based machine, I assume it's macOS, right? Could you also post the steps and the data used for testing? I would like to do a test in a Linux based system. |
Yes here are the same benchmarks on the current master branch. |
Sure. We used the
So we are using the container that is also running thor to run the benchmarks but hopefully this is not an issue. |
Thanks, will do a summary. |
Closing in favor of #784 |
This PR
1.21
to the latest stable version which is1.22.4
.3.41
to3.45
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: