dromara / carbon

A simple, semantic and developer-friendly golang package for time.
https://pkg.go.dev/github.com/dromara/carbon/v2
MIT License
4.83k stars 242 forks source link

Why is the carbon binary so large? #249

Open devhaozi opened 1 month ago

devhaozi commented 1 month ago

image

This is the dependency graph obtained by analyzing the go program using https://gsa.zxilly.dev/, which shows that carbon takes up a lot of space.

devhaozi commented 1 month ago

image

The results of using tui mode analysis show that these structures and functions take up a lot of space.