You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cache hit packages: 73
total meta read: 15.235 ms
avg per package: 208.7 us
min: 36.9 us
max: 981.2 us
最慢的几个包:
reflect 981.166 us
fmt 886.542 us
os 798.875 us
internal/runtime/maps 687.667 us
sync/atomic 670.084 us
internal/runtime/math 626.500 us
github.com/goplus/llgo/runtime/internal/runtime 463.708 us
internal/godebug 438.000 us
time 425.375 us
github.com/goplus/llgo/runtime/internal/clite/syscall 390.875 us
结论:这个 case 里当前 .meta 格式的读取 + 反序列化看起来不是主要瓶颈。73 个包总共约 15ms,单包基本在几十到几百微秒,最大不到 1ms。短期看不需要优先做 mmap/零拷贝这类复杂优化;更值得继续看 cache hit 后其他阶段的耗时。
cache hits: 209
cache misses: 1
total meta read: 59.223 ms
avg per package: 283.363 us
min: 38.500 us
max: 2.908 ms
p50: 150.666 us
p90: 701.916 us
p95: 936.333 us
p99: 1.283 ms
最慢的几个 cache hit:
net/http 2.907834 ms
time 1.528417 ms
go/ast 1.462417 ms
crypto/tls 1.283375 ms
encoding/asn1 1.172792 ms
net 1.095833 ms
os/exec 1.020917 ms
reflect 1.020583 ms
encoding/json 1.011542 ms
fmt 994.375 us
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test Plan
Notes