-
Notifications
You must be signed in to change notification settings - Fork 87
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
feat(ogenreflect): add new runtime information package #661
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportBase: 74.38% // Head: 74.43% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #661 +/- ##
==========================================
+ Coverage 74.38% 74.43% +0.05%
==========================================
Files 176 179 +3
Lines 12734 12791 +57
==========================================
+ Hits 9472 9521 +49
- Misses 2781 2789 +8
Partials 481 481
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
f634bed
to
b5963b1
Compare
0182d17
to
fbd6eb8
Compare
This is a workaround for `goimports`: it does not treat map lookup as missing package, unlike field lookup of global variable. Otherwise, `goimports` will try to search for the non-existing package and will check every package in GOPATH/module cache. This leads to a very big slowdown. Benchstat: ``` name old time/op new time/op delta Generator/api.github.com-4 13.1s ± 1% 4.7s ± 2% -64.10% (p=0.000 n=13+15) Generator/gotd_bot_api-4 8.63s ± 2% 0.91s ± 3% -89.49% (p=0.000 n=13+15) Generator/tinkoff-4 7.96s ± 3% 0.17s ± 6% -97.90% (p=0.000 n=15+14) Generator/manga-4 7.85s ± 2% 0.05s ± 6% -99.38% (p=0.000 n=14+14) name old alloc/op new alloc/op delta Generator/api.github.com-4 1.95GB ± 0% 1.48GB ± 0% -24.32% (p=0.000 n=15+14) Generator/gotd_bot_api-4 710MB ± 1% 220MB ± 0% -69.07% (p=0.000 n=15+15) Generator/tinkoff-4 537MB ± 2% 41MB ± 3% -92.40% (p=0.000 n=15+15) Generator/manga-4 507MB ± 2% 11MB ± 2% -97.87% (p=0.000 n=15+15) name old allocs/op new allocs/op delta Generator/api.github.com-4 41.1M ± 0% 37.5M ± 0% -8.63% (p=0.000 n=15+13) Generator/gotd_bot_api-4 9.86M ± 0% 6.02M ± 0% -39.01% (p=0.000 n=15+14) Generator/tinkoff-4 5.01M ± 1% 1.15M ± 0% -77.11% (p=0.000 n=15+14) Generator/manga-4 4.17M ± 1% 0.30M ± 0% -92.82% (p=0.000 n=15+15) ```
b054200
to
c158f72
Compare
c158f72
to
dd89e14
Compare
No description provided.