Skip to content

Implement retained Performance Timeline for Code OSS - #134

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/performance-timeline-code-oss
Sep 16, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/performance-timeline-code-oss

Conversation

@wieslawsoltes

@wieslawsoltes wieslawsoltes commented Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator

Problem and change

Code OSS startup requires a retained User Timing timeline. WebScene returned entry-shaped values but did not retain or query marks and measures.

This change installs a bounded, realm-owned mark/measure timeline before application code can capture Performance methods, shares the native monotonic clock across top-level and iframe realms, and covers ordering, overloads, clears, cloned detail, invalid timestamps, retention, idempotence, and performance.

Closes #72. The equivalent implementation remains in draft consolidation PR #76.

Validation

  • One focused implementation commit on current main at 5e1be233; exact head d727fe33
  • Cumulative Release V8 native engine build
  • RuntimeCompatibility suite passes 25/25 on the cumulative stack
  • Focused native performance-timeline filter: 10/10 local passes; warm runs 50-54 ms
  • Persisted gate sustains 50,000 marks within the 1,500 ms budget; current Node run 29.9 ms
  • git diff --check

Native GitHub stack #159

  1. Implement retained Performance Timeline for Code OSS #134 — current layer — Performance Timeline (Implement retained Performance Timeline required by Code OSS startup #72)
  2. Implement FileReader over native Blob bytes #135 — FileReader over native Blob bytes (Implement FileReader over native Blob bytes for Code OSS WebSockets #73)
  3. Implement mutable stylesheet CSSOM for Monaco #136 — cumulative top — mutable stylesheet CSSOM (Implement mutable stylesheet CSSOM for Monaco and Code OSS #74)

Only the cumulative top PR receives remote validation. Merge all layers atomically through Stack #159 after the top related checks pass.

@wieslawsoltes
wieslawsoltes force-pushed the feature/performance-timeline-code-oss branch 2 times, most recently from 3472ee5 to 941d305 Compare September 16, 2026 10:05
@wieslawsoltes
wieslawsoltes changed the base branch from review/code-oss-runtime-compat-base to main September 16, 2026 10:20
@wieslawsoltes
wieslawsoltes force-pushed the feature/performance-timeline-code-oss branch from 941d305 to d727fe3 Compare September 16, 2026 20:24
@wieslawsoltes
wieslawsoltes marked this pull request as ready for review September 16, 2026 20:27
@wieslawsoltes
wieslawsoltes merged commit 5a13311 into main Sep 16, 2026
0 of 15 checks passed
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.

Implement retained Performance Timeline required by Code OSS startup

1 participant