Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release v2.0.1 #175

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Prepare release v2.0.1 #175

merged 1 commit into from
Aug 21, 2023

Conversation

heroku-linguist[bot]
Copy link
Contributor

@heroku-linguist heroku-linguist bot commented Aug 19, 2023

heroku/procfile

Changed

  • Updated buildpack dependencies.

@heroku-linguist heroku-linguist bot requested a review from a team as a code owner August 19, 2023 14:04
@heroku-linguist heroku-linguist bot enabled auto-merge (squash) August 19, 2023 14:04
@edmorley
Copy link
Member

Depends on #176 landing first, then this needs to be regenerated.

CHANGELOG.md Outdated Show resolved Hide resolved
## heroku/procfile

### Changed

- Updated buildpack dependencies.
@heroku-linguist heroku-linguist bot merged commit a1ee365 into main Aug 21, 2023
4 checks passed
@heroku-linguist heroku-linguist bot deleted the prepare-release branch August 21, 2023 11:35
@edmorley
Copy link
Member

@edmorley
Copy link
Member

edmorley commented Aug 21, 2023

The size of the compressed .cnb file increased by 30% between 2.0.0 and 2.0.1:
https://github.com/heroku/procfile-cnb/releases/tag/v2.0.0
https://github.com/heroku/procfile-cnb/releases/tag/v2.0.1

We've also seen size increases upstream in libcnb.rs too - so I had a quick look into this.

The only changes in the release were dependency changes:
v2.0.0...v2.0.1

Using cargo-bloat (and rustc 1.72.0-beta.10)...

For procfile-cnb 2.0.0:

 File  .text     Size Crate
14.8%  34.6% 364.6KiB std
 7.8%  18.4% 193.6KiB regex
 7.1%  16.5% 174.0KiB regex_syntax
 6.8%  16.0% 168.9KiB toml
 2.1%   5.0%  52.9KiB fancy_regex
 1.1%   2.5%  26.4KiB aho_corasick
 0.9%   2.1%  22.2KiB libcnb_data
 0.8%   2.0%  20.6KiB serde
 0.6%   1.3%  13.7KiB libcnb
 0.3%   0.7%   7.9KiB [Unknown]
 0.3%   0.7%   7.7KiB memchr
 0.2%   0.5%   5.2KiB procfile_buildpack
 0.1%   0.2%   2.0KiB termcolor
 0.1%   0.2%   1.8KiB linked_hash_map
 0.0%   0.1%     848B libherokubuildpack
 0.0%   0.0%     108B bit_vec
 0.0%   0.0%      16B thiserror
 0.0%   0.0%       8B libc
42.7% 100.0%   1.0MiB .text section size, the file size is 2.4MiB

For procfile-cnb 2.0.1:

 File  .text     Size Crate
12.3%  27.2% 361.8KiB std
11.5%  25.4% 337.8KiB toml_edit
 6.9%  15.1% 200.8KiB regex
 6.4%  14.1% 187.9KiB regex_syntax
 2.6%   5.7%  75.2KiB aho_corasick
 1.9%   4.3%  56.8KiB fancy_regex
 0.8%   1.8%  23.4KiB libcnb_data
 0.6%   1.3%  17.3KiB libcnb
 0.6%   1.3%  17.0KiB toml
 0.6%   1.2%  16.4KiB [Unknown]
 0.5%   1.1%  15.1KiB serde
 0.3%   0.7%   8.7KiB memchr
 0.3%   0.6%   8.6KiB hashbrown
 0.2%   0.4%   4.9KiB toml_datetime
 0.1%   0.3%   3.8KiB procfile_buildpack
 0.1%   0.2%   2.3KiB winnow
 0.1%   0.2%   2.1KiB termcolor
 0.1%   0.2%   2.0KiB indexmap
 0.1%   0.1%   1.9KiB libherokubuildpack
 0.1%   0.1%   1.8KiB linked_hash_map
 0.0%   0.0%     428B And 3 more crates. Use -n N to show more.
45.4% 100.0%   1.3MiB .text section size, the file size is 2.9MiB

It looks like the main increases are:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant