Closed llwwbb closed 9 months ago
~ cat /proc/version Linux version 5.10.0-16-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.127-2 (2022-07-23)
It's worth trading off online performance. BTW, why not compare with C++ programs? You will get used to it ;)
It must be that 90 MB dependency, slow compile and makes my binary big :'(
Any plans to improve this?
goweight
90 MB github.com/chenzhuoyu/iasm/x86_64
51 MB github.com/redis/rueidis/internal/cmds
23 MB github.com/jackc/pgx/v5/pgtype
11 MB runtime
8.7 MB github.com/redis/rueidis/rueidiscompat
7.7 MB net/http
6.2 MB github.com/yugabyte/gocql
5.6 MB github.com/gogo/protobuf/proto
5.3 MB google.golang.org/protobuf/internal/impl
Compiling the following simple code will consume a lot of CPU memory and disk resources.
Everything works fine in v1.9.2
go.mod
main.go