Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Born-old prototype births and old-arena teardown cost +0.8% on commander (no minor to amortise)

Open
#12,508 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
rust, typescript

Research direction

Start with the follow-up to #12507, which introduced the born-old prototype path, and the commander benchmark row showing +0.80% instructions:u. The payload names the costs to study: prototype births for class, builtin, class-expression and generator realm intrinsics, default function prototypes of old functions, and old-arena teardown at exit. Done means bulk old-page allocation at startup, no per-object work at exit, and commander back at or below base with the other scoreboard rows unchanged. This needs familiarity with the runtime's allocator and GC, so it is not a first task.

Written by the indexing model from the issue text.

Description

Follow-up to #12507 (registry-free site memos, born-old prototypes, owner decision 121 O3).

commander runs no minor GC. After #12507 it is +0.80% instructions:u (n=5), from two costs:

  • startup bookkeeping for prototypes born in old space (class, builtin, class-expression, generator realm intrinsics, default function prototypes of old functions);
  • old-arena teardown at exit.

With no minor, nothing amortises these, unlike fastify, zod and tsc, which are flat or faster.

Goal: make born-old prototype birth and old-arena teardown O(1) per object. Bulk old-page allocation for the realm intrinsics at startup, and no per-object work at exit. Witness: commander instructions back to ≤ base, with the other scoreboard rows unchanged.

Dominant language
Rust
Stars
4.9k
Forks
166
Avg merge
2h 54m
Merged PRs (30d)
922

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PerryTS/perry

All issues in PerryTS/perry

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.