daddykotex / smithy4s-code-generation

Preview Smithy4s code generation
https://morning-bird-7081.fly.dev/
MIT License
7 stars 1 forks source link

Draft: use smithy4s generated client #8

Closed daddykotex closed 1 year ago

daddykotex commented 1 year ago

On file size:

orginal:
dist/assets/index-5cb31a3f.js   821.33 kB

w/cats-effect: 
dist/assets/index-a9addc75.js   1,543.81 kB

w/ cats-effect, smithy4s, http4s
dist/assets/index-9290dbea.js   4,956.67 kB

After (smithy4s / cats / http4s): _Users_David Francoeur_workspace_dev_smithy4s-code-generation_modules_frontend_after html

Before: _Users_David Francoeur_workspace_dev_smithy4s-code-generation_modules_frontend_before html

bundlemon[bot] commented 1 year ago

BundleMon

Files updated (1) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :x: | assets/index-(hash).js
| 808.44KB (+684.63KB **+552.99%**) | +10%
Unchanged files (1) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | index.html
| 317B | -

Total files change +684.64KB +551.63%

Final result: :x:

View report in BundleMon website ➡️


Current branch size history | Target branch size history

daddykotex commented 1 year ago

HTML files are here if you want to see: Archive.zip

daddykotex commented 1 year ago

When gizipped, we stay under 1mb but that's way too much: dist/assets/index-61f87ec2.js 5,101.91 kB │ gzip: 836.80 kB

Baccata commented 1 year ago

fascinating