Commit graph

21 commits

Author SHA1 Message Date
c20a075605
Remove LTO, potential cause of memleak
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-01 03:06:31 +05:30
b0a7dfff00
Use openssl 3.0 to statically link
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-01 03:05:47 +05:30
924256b085
Partially Revert the performance improvments
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-01 02:47:42 +05:30
28e703b563
Use scratch container instead of using distroless
We save more storage by moving to scratch

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 12:32:20 +05:30
3ff60f8c18
Align the deps properly
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 12:21:13 +05:30
16e6d2f724
Revert: Move to libressl
Libressl does bring 1mb improvement, but its causing issues

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 12:17:53 +05:30
7ffa1bdabf
Strip the binaries further to reduce size
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:43:54 +05:30
82f90edec7
Silence autogen output
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:43:26 +05:30
13d08267a7
Enable panics
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:42:45 +05:30
1a736e84ce
Use libressl from source instead of openssl
Brings down our binary size by another mb

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:42:08 +05:30
6d7ecb36a0
Add back forgotten clang
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:38:19 +05:30
b8b09f17a8
Use gc arc
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:15:44 +05:30
3cb6f91086
Some more size optimizations
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:33:18 +05:30
37c7687784
Dont run runtime safety checks
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:32:14 +05:30
26fedf56b0
Use LLD linker
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:27:55 +05:30
a49e047457
Do full LTO instead of thinLTO
Saves us 0.85MB

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:27:35 +05:30
15dbf2f29d
Do LTO on the binary
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:08:24 +05:30
c77bc890cb
Optimize for speed instead of size
The gain is actually just 0.2MB

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:07:06 +05:30
acb3d241dc
Expose 8080 automatically from dockerfile for service discovery
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-11 15:45:42 +05:30
0bd5a5eb40
Improve Dockerfile
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-11 12:44:51 +05:30
c5f4b66d25
Add a dockerfile and statically link everything
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-11 12:27:15 +05:30