Skip to content

chore: release v20.0.20 - #1507

Merged
ryoppippi merged 1 commit into
mainfrom
tagpr-from-v20.0.19
Aug 15, 2026
Merged

ryoppippi merged 1 commit into
mainfrom
tagpr-from-v20.0.19

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is for the next release as v20.0.20 created by tagpr. Merging it will tag v20.0.20 to the merge commit and create a GitHub release.

You can modify this branch "tagpr-from-v20.0.19" directly before merging if you want to change the next version number or other files for the release.

How to change the next version as you like

There are two ways to do it.

  • Version file
    • Edit and commit the version file specified in the .tagpr configuration file to describe the next version
    • If you want to use another version file, edit the configuration file.
  • Labels convention
    • Add labels to this pull request like "tagpr:minor" or "tagpr:major"
    • If no conventional labels are added, the patch version is incremented as is.

What's Changed

Full Changelog: v20.0.19...tagpr-from-v20.0.19

@github-actions github-actions Bot added the tagpr label Jul 27, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ccusage-guide 9bc037b Commit Preview URL

Branch Preview URL
Aug 15 2026, 11:06 AM

@github-actions
github-actions Bot force-pushed the tagpr-from-v20.0.19 branch 28 times, most recently from 8e97985 to 52ca570 Compare July 31, 2026 23:42
@github-actions
github-actions Bot force-pushed the tagpr-from-v20.0.19 branch 5 times, most recently from d209c83 to ad7d708 Compare August 2, 2026 06:16
@github-actions
github-actions Bot force-pushed the tagpr-from-v20.0.19 branch from ad7d708 to 9a66d38 Compare August 3, 2026 14:54
@github-actions
github-actions Bot force-pushed the tagpr-from-v20.0.19 branch 11 times, most recently from 78f1f69 to 8662057 Compare August 9, 2026 17:36
@github-actions
github-actions Bot force-pushed the tagpr-from-v20.0.19 branch 3 times, most recently from 59b687f to 6394b6c Compare August 14, 2026 14:45
@github-actions
github-actions Bot force-pushed the tagpr-from-v20.0.19 branch from 6394b6c to 9bc037b Compare August 15, 2026 11:05
@pkg-pr-new

pkg-pr-new Bot commented Aug 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

ccusage

npx https://pkg.pr.new/ccusage@1507

@ccusage/ccusage-darwin-arm64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-arm64@1507

@ccusage/ccusage-darwin-x64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-x64@1507

@ccusage/ccusage-linux-arm64

npx https://pkg.pr.new/@ccusage/ccusage-linux-arm64@1507

@ccusage/ccusage-linux-x64

npx https://pkg.pr.new/@ccusage/ccusage-linux-x64@1507

@ccusage/ccusage-win32-x64

npx https://pkg.pr.new/@ccusage/ccusage-win32-x64@1507

commit: 9bc037b

@github-actions

Copy link
Copy Markdown
Contributor Author

ccusage performance comparison

PR SHA: 9bc037b53007
Base SHA: b936c29211b9

This compares the Rust PR release binary against the configured base package on the same CI runner.

Package runtime diagnostics

Compares the PR package wrapper, the installed native optional dependency binary, and the workspace release binary on the same large fixture. This identifies whether slow package results come from JavaScript wrapper overhead, the published native binary build, or the Rust core itself.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
All rows run --offline --json, measured by hyperfine with 0 warmups and 1 runs. This isolates wrapper overhead from the installed native optional dependency and the workspace release binary built on the runner.

Command Runtime Input Median Throughput Samples
claude --offline --json Package wrapper 1.01 GiB 344.5ms 2.92 GiB/s 1
claude --offline --json Installed native binary 1.01 GiB 309.0ms 3.26 GiB/s 1
codex --offline --json Package wrapper 1.01 GiB 119.4ms 8.43 GiB/s 1
codex --offline --json Installed native binary 1.01 GiB 91.9ms 10.95 GiB/s 1

Committed fixture performance

Committed small fixtures for stable PR-to-PR feedback and explicit Claude/Codex command coverage.

Fixtures: Claude apps/ccusage/test/fixtures/claude (0.00 MiB, 2 files), Codex apps/ccusage/test/fixtures/codex (0.00 MiB, 1 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published native ccusage binary from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 2 warmups and 7 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude daily --offline --json 0.00 MiB 39.9ms 8.2ms 4.86x 55.00 MiB 24.71 MiB 0.45x 0.04 MiB/s 0.19 MiB/s
claude session --offline --json 0.00 MiB 35.3ms 8.2ms 4.30x 55.00 MiB 24.70 MiB 0.45x 0.04 MiB/s 0.19 MiB/s
codex daily --offline --json 0.00 MiB 35.3ms 7.7ms 4.60x 55.25 MiB 24.70 MiB 0.45x 0.02 MiB/s 0.11 MiB/s
codex session --offline --json 0.00 MiB 28.7ms 7.8ms 3.70x 55.25 MiB 24.70 MiB 0.45x 0.03 MiB/s 0.11 MiB/s

Large real-world-shaped fixture performance

Generated fixtures shaped from aggregate local log statistics: thousands of JSONL files, many small sessions, and a long tail of larger sessions. No real prompts, paths, or outputs are stored in the fixtures.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published native ccusage binary from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 0 warmups and 1 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude --offline --json 1.01 GiB 355.6ms 319.9ms 1.11x 948.84 MiB 948.85 MiB 1.00x 2.83 GiB/s 3.15 GiB/s
codex --offline --json 1.01 GiB 122.1ms 97.0ms 1.26x 407.16 MiB 421.16 MiB 1.03x 8.24 GiB/s 10.38 GiB/s

Artifact size

Artifact Base PR Delta Ratio
packed ccusage-*.tgz 19.09 KiB 19.09 KiB +0.00 KiB 1.00x
installed native package binary 4244.66 KiB 4244.66 KiB +0.00 KiB 1.00x

Lower medians and smaller artifacts are better. CI runner noise still applies; use same-run ratios as directional PR feedback, not release guarantees.

@github-actions

Copy link
Copy Markdown
Contributor Author

ccusage performance comparison

PR SHA: 9bc037b53007
Base SHA: b936c29211b9

This compares the PR package against the configured base package on the same CI runner.

Package runtime diagnostics

Compares the PR package wrapper, the installed native optional dependency binary, and the workspace release binary on the same large fixture. This identifies whether slow package results come from JavaScript wrapper overhead, the published native binary build, or the Rust core itself.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
All rows run --offline --json, measured by hyperfine with 0 warmups and 1 runs. This isolates wrapper overhead from the installed native optional dependency and the workspace release binary built on the runner.

Command Runtime Input Median Throughput Samples
claude --offline --json Package wrapper 1.01 GiB 358.0ms 2.81 GiB/s 1
claude --offline --json Installed native binary 1.01 GiB 303.0ms 3.32 GiB/s 1
codex --offline --json Package wrapper 1.01 GiB 119.5ms 8.42 GiB/s 1
codex --offline --json Installed native binary 1.01 GiB 100.7ms 10.00 GiB/s 1

Committed fixture performance

Committed small fixtures for stable PR-to-PR feedback and explicit Claude/Codex command coverage.

Fixtures: Claude apps/ccusage/test/fixtures/claude (0.00 MiB, 2 files), Codex apps/ccusage/test/fixtures/codex (0.00 MiB, 1 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published ccusage package from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 2 warmups and 7 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude daily --offline --json 0.00 MiB 40.4ms 32.3ms 1.25x 54.75 MiB 55.00 MiB 1.00x 0.04 MiB/s 0.05 MiB/s
claude session --offline --json 0.00 MiB 33.4ms 32.9ms 1.02x 55.00 MiB 55.00 MiB 1.00x 0.05 MiB/s 0.05 MiB/s
codex daily --offline --json 0.00 MiB 31.9ms 30.1ms 1.06x 55.00 MiB 55.00 MiB 1.00x 0.03 MiB/s 0.03 MiB/s
codex session --offline --json 0.00 MiB 29.0ms 29.8ms 0.97x 55.25 MiB 55.00 MiB 1.00x 0.03 MiB/s 0.03 MiB/s

Large real-world-shaped fixture performance

Generated fixtures shaped from aggregate local log statistics: thousands of JSONL files, many small sessions, and a long tail of larger sessions. No real prompts, paths, or outputs are stored in the fixtures.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published ccusage package from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 0 warmups and 1 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude --offline --json 1.01 GiB 358.8ms 366.2ms 0.98x 954.84 MiB 956.84 MiB 1.00x 2.81 GiB/s 2.75 GiB/s
codex --offline --json 1.01 GiB 121.2ms 120.6ms 1.00x 407.16 MiB 427.16 MiB 1.05x 8.31 GiB/s 8.35 GiB/s

Artifact size

Artifact Base PR Delta Ratio
packed ccusage-*.tgz 19.09 KiB 19.09 KiB +0.00 KiB 1.00x
installed native package binary 4244.66 KiB 4244.66 KiB +0.00 KiB 1.00x

Lower medians and smaller artifacts are better. CI runner noise still applies; use same-run ratios as directional PR feedback, not release guarantees.

@ryoppippi
ryoppippi merged commit bd7f89b into main Aug 15, 2026
35 checks passed
@ryoppippi
ryoppippi deleted the tagpr-from-v20.0.19 branch August 15, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant