Repository navigation
Description
Problem
Octane can't tell us how much engine work an interaction did. Suppose a change makes a click re-render twice as many components, rebuild an @if arm instead of keeping it, or roll back a root render that used to commit cleanly. None of that is visible until it shows up as wall-clock time. By then the signal is noisy and the cause is hard to find.
The existing profiler (profiling.ts) records component render and bailout events: timing, causes, queue delay, one Chrome Performance-panel track, and the __OCTANE_PROFILER__ console API. It records nothing about the engine work around those renders: Blocks, directive arms, keyed list operations, Suspense and error boundaries, rollbacks, commits, effects, hook calls, or hydration.
This issue proposes three additions to profiling mode:
- deterministic counters for each kind of engine work;
- timeline markers for the events that explain a slow interaction;
- React's
<Profiler>, built on the same data.
Every probe stays behind the existing compiled-out profile define. DEV and PROD builds without profiling must not change by a single byte.
Source links are pinned to main at 9d4c14fb23.
Status
Updated 2026-10-10.
- Phase 1 is complete. feat: complete profiling counter core #1955 merged on 2026-10-09, extending feat(octane): count engine work in profile builds #1894's recommended first cut to 60 counters (schema 2), bounded
getCommits()history with delayed-effect attribution, and exclusive per-component counters insummary(). It adds the automated code-identity gate and a repeatable counter-overhead benchmark. All CI checks passed; production work counters and application bundle-size measurements were unchanged. - DEV stripping is done. fix(octane): fold profiling guards out of the vite dev runtime #1898 folds the profile guards out of the runtime that
vite devserves when profiling is off, and out of the optimizer pre-bundle.profiling.tsis no longer fetched. Rspack's unminified dev output still keeps the branches as dead code. - Later phases remain open: hook counts, hydration counters, timeline additions,
<Profiler>, the semantic-counter PR-report integration, and DevTools tabs. The existing benchmark helper remains the completed first part of Phase 6. The checklists below distinguish Phase 1 completion from whole-issue acceptance.
What exists today
Gating
Profiling is controlled by one define, __OCTANE_PROFILE_ENABLED__. It is always written as typeof __OCTANE_PROFILE_ENABLED__ !== 'undefined' && __OCTANE_PROFILE_ENABLED__ (58 guards in runtime.ts, 9 in universal-core.ts). It is independent of DEV, which is the literal process.env.NODE_ENV check:
| Build | How it is selected | DEV runtime | Profiling |
|---|---|---|---|
| DEV | vite dev |
yes | off |
| PROD | vite build |
no | off |
| DEV + PROFILING | octane({ devtools: true }), which resolves to profile: 'auto' and applies to vite dev only; or profile: true under vite dev |
yes | on |
| PROD + PROFILING | profile: true with vite build --mode profile, the equivalent of React's react-dom/profiling |
no | on |
The official integrations always set the flag to true or false, and they reject user overrides (vite.js and the rspack plugin.js). These tests check that profiling code is stripped:
production-profile-bundle.test.tschecks module absence through the esbuild metafile.vite-plugin-octane/tests/profile-bundle.test.tsandrspack-plugin-octane/tests/rspack.test.tscheck string absence.devtools-prod-strip.test.ts.benchmarks/bundle-size/run-minimal.mjschecks which modules are retained.
Compiler
With profile: true, the client compiler emits two kinds of metadata:
__profileComponent(Name, { id, file, line, … })for each component;__profileHook(Symbol(…), { componentId, name, kind, index, … })for each hook slot.
It also turns off production-only output: autoMemo, inline hook memo, local void roots, productionEffects, root specialization, and numeric hook slots. DEV already turns off the same set, so profile builds compile the same generic program as DEV.
Runtime probes
- Render begin and end in
renderBlockInner(root, dynamic and portal Blocks only) andcomponentSlotLite. - Bailouts in
tryMemoBailandtryImplicitBail. - Update causes, through
__profileSchedule, at the state, reducer, store, context and transition setters. - Devtools probes on
setTryBranch, the transition-pending counter, and root flushes.
Outputs
profiler.summary(),why(),getEvents()andexportTrace().- A Chrome custom track, "Components" in the "Octane" group, written with the extended
console.timeStamp. - The Profiler and Performance tabs in
@octanejs/devtools.
How benchmarks count work today
benchmarks/lib/precise-work.mjs runs Chromium precise call coverage in a --jitless browser and counts calls to named production functions. The PR bench gate fails if any js-framework work counter increases. It avoids source probes on purpose, so it sees exactly the program that ships.
It has three limits:
- Its metrics are private function names. The suspense-recovery list, for example, includes
renderBlock,createBlock,journalRootSlotandrollbackRootRender. A refactor that renames, splits or inlines one of those changes the counts without changing the work. - The counts carry no component, boundary or reason.
- It only runs on bench fixtures.
Proposal
1. Engine counters
Each event is counted at its single choke point. The sites below are taken from the source. The hottest are resolveSlot, createBlock, renderBranchSlot and reconcileKeyed, which run per node or per render. That is fine only because the guard removes them when profiling is off.
Components
| Counter | Choke point | Notes |
|---|---|---|
component.render × {mount, update} × {completed, suspended, errored} |
renderBlockInner, componentSlotLite |
Events exist; add counts |
component.bailout × {memo, implicit} |
tryMemoBail, tryImplicitBail |
Events exist |
component.renderPhaseReplay |
renderBlock retry loop |
A setter was called during its own render |
Hooks
| Counter | Choke point | Notes |
|---|---|---|
hook.call × kind (state, reducer, memo, callback, effect, layoutEffect, insertionEffect, ref, syncExternalStore, id, transition, deferredValue, …), plus per slot where compiler metadata exists |
resolveSlot |
18 hooks route through it. The count must come before the early return at L13382, which today also skips __profileResolveHook for top-level hooks |
hook.memo × {hit, recompute} |
useMemo, useCallback |
|
state.update × {scheduled, equal} |
State setter → scheduleRender |
equal is the Object.is bailout |
effect.run, effect.cleanup × {insertion, layout, passive} |
runEffectBody, fireEffectCleanup |
|
ref.attach, ref.detach |
attachRef |
use() and useContext have no slot, so they need their own probes. Profile builds already turn off inline hook memo and autoMemo, so memo hooks reach the runtime. The work should confirm that no other slot-less compiled path (memoTake*, puTake*) escapes the count.
Blocks
| Counter | Choke point | Notes |
|---|---|---|
block.create × BlockKind |
createBlock |
Single choke point, 33 callers |
block.unmount |
unmountBlockInner |
|
block.lite × {mount, fallback} |
componentSlotLite |
|
block.deopt |
reconcileDeoptChildren |
The descriptor reconciler was entered |
block.cacheHit |
compilerCacheContext |
The compiler output cache skipped a subtree. This has no event today |
Arms and lists
| Counter | Choke point | Notes |
|---|---|---|
arm.keep, arm.swap, arm.swapOffscreen |
renderBranchSlot |
Shared by @if and @switch |
for.skip, for.empty × {mount, unmount} |
forBlock |
skip is a hit in the deps cache |
list.reconcile, list.insert, list.remove, list.update, list.move, list.lis |
reconcileKeyed, moveBlockBefore, lis |
Boundaries
| Counter | Choke point | Notes |
|---|---|---|
boundary.suspend, boundary.hold, boundary.fallback, boundary.reveal, boundary.retry, boundary.catch, boundary.reset |
setTryBranch, handleSuspense, hideTryContentAndMountPendingInner, commitResumeInner, switchToCatchInner, flushSuspenseRetryBatch |
setTryBranch is the only place the branch changes. hold means a transition kept the old screen |
activity.hide, activity.show |
activityBlock |
|
viewTransition.flush |
vtFlush |
Rollbacks (each carries a reason)
| Counter | Choke point | Notes |
|---|---|---|
rollback.root × reason |
rollbackRootRender |
Reasons: the root suspended with no boundary, an uncaught error, commit-time validation failed, an unmount during the transaction, or hydrate adoption missed |
rollback.journal, plus entries undone |
rollbackTransitionJournal |
The entry count is log.length / 4, read once at commit or rollback. There is no per-write probe |
rollback.transitionDiscarded |
discardRootTransition |
|
rollback.offscreenDiscarded |
discardOffscreenCapture |
|
rollback.renderInvalidated |
invalidateRender |
|
rollback.hydration |
HydrationCapability.rollback |
|
rollback.parkedRow |
parkItemForHold |
Scheduler and commit
| Counter | Choke point | Notes |
|---|---|---|
flush × {sync, transition, deferred}, drain, commit.root, commit.effects |
drainQueue, commitRootRenders, commitEffects |
|
task.post |
postHostTask |
|
suspend.throw, use.stratum |
SuspenseException, useBatch |
|
cascade.layout, with depth |
drainLayoutUpdates |
Hydration
| Counter | Choke point | Notes |
|---|---|---|
hydrate.claim × {element, text, empty}, hydrate.mismatch, hydrate.recoverable, hydrate.clientFallback × {root, suspense, island} |
HydrationCapability claim methods, mismatch, noteRecoverableHydrationError |
Signals already have their own opt-in trace (signals/engine.ts). Fold it into this later instead of duplicating it.
Counters contribute to session totals, including failed or discarded attempts. Accepted root commits have identities distinct from scheduler DRAIN_ID; delayed effects retain the transaction that queued or published them. Counters firing inside a component render are attributed exclusively to that component. #1955 implements bounded commit history and per-component counters; hook-call counters remain Phase 2.
2. Zero-cost contract
- One define. Every probe uses the existing guard form, with no second flag.
__OCTANE_PROFILE_ENABLED__is the PROFILING switch, and DEV + PROFILING (devtools: true) is the primary target. The define is independent ofNODE_ENV, so the same probes also work in PROD + PROFILING builds, as in React's profiling build. - Byte-identical output when off. With profiling off, DEV and PROD output must be byte-identical to the pre-change build for the bundle-size corpus: the minimal lanes plus the js-framework, TodoMVC and chat apps. This is the acceptance gate. Extend
run-minimal.mjsandproduction-profile-bundle.test.tsto check byte identity, not just module absence. fix(octane): fold profiling guards out of the vite dev runtime #1898 strips the guards from unminifiedvite devand its optimizer pre-bundle. feat: complete profiling counter core #1955 automates code-identity comparisons with identifiers kept; fully minified identifier names can change. Rspack's unminified DEV output still retains dead branches. - Only guarded references. Probe functions live in
profiling.ts, and only guarded branches may reference them. No identity comparison and no module-scope table outside a guard may name them, or the bundler keeps the module (#767 is the precedent). - No new fields on hot classes.
BlockImpl,ScopeImplandLiteBlockImplgain no fields in any mode. Per-object data stays inWeakMaps, the waytrackedComponentsalready works. - O(1) probes. In profile builds, a probe increments a slot in a preallocated typed array, indexed by a numeric event id. It allocates no strings, objects or closures per event. Spans and markers are emitted only when the timeline is on.
- Probes only observe. They never schedule work, read layout, or throw. The existing profile-only branch in the store-notify fast path shows the risk: if a probe changes control flow, the profile build's counts describe a different program.
3. Outputs
-
Counters API on
octane/profilingand__OCTANE_PROFILER__:counters(), grouped by category;snapshot()anddiff(a, b);getCommits(), the counter changes for each commit;- per-component counters in
summary().
These are subpath APIs, like the existing
profilerobject, and are not exported fromoctane. -
Performance panel. Keep the "Components" track and add a "Scheduler" track to the "Octane" group, modelled on React's Performance Tracks.
- The Scheduler track has subtracks by priority (sync, transition, deferred, Suspense retry), and draws each drain as Update → Render → Commit → Effects.
- Spans use the extended
console.timeStamp, which has the lowest overhead. - Markers use
performance.markwithdetail.devtools(dataType: 'marker',properties). Use them for the events that explain a slow interaction: rollbacks with their reason, fallback, reveal and catch, hydration mismatches, render-phase replays, and layout cascades. - Each commit's counters are attached to its Commit entry as properties.
-
Trace export.
exportTrace()adds Chrome trace counter events (ph: 'C') and instant events (ph: 'i'), so Perfetto shows the same data. -
Console. Opt-in only.
profiler.start({ console: 'commit' })prints one collapsed group per commit with its counter table. Nothing is logged by default. -
DevTools. Show the counters in the Profiler and Performance tabs (follow-up).
4. React's <Profiler>
Profiler is currently listed as not implemented (differences-from-react.md). Implement it on top of this data:
- Exports. Export
Profilerfromoctaneas tier-1 React parity, with a pass-through fromoctane/server. Updatedifferences-from-react.md,isProfilerin@octanejs/octane-is, and the support table in the MCP bridge. - Without profiling. It renders its children and never calls
onRender, as React production builds do. The compiler can replace it with its children when profiling is off, so it costs nothing. - In profile builds. It calls
onRender(id, phase, actualDuration, baseDuration, startTime, commitTime)once for each commit in which the subtree rendered.phaseis'mount','update'or'nested-update'.'nested-update'means the update was scheduled from layout effects (thedrainLayoutUpdatescascade).actualDurationis the total component render time in the subtree for this commit. The nearest<Profiler>is found by walking up the parent Blocks, which costs something only in profile builds.baseDurationcomes from a running sum per<Profiler>of each descendant's most recent render time. It is updated on render and reduced on unmount.
- Signature. The
onRendersignature stays exactly React's. Octane-specific scoping goes onoctane/profilinginstead. For example,profiler.counters({ profilerId: 'list' })returns the counters for one<Profiler>subtree.
5. Catching regressions
- Exact gates. Counters are deterministic for a fixed build, fixture and interaction, so they can gate exactly, without timing noise.
- Bench helper. Add a bench helper,
benchmarks/lib/profile-counters.mjs. It builds a fixture in profile mode, drives the operations, and writes each operation's counter changes toBENCH_JSON. - PR report. Feed those changes into
pr-report.mjsbeside the precise-coverage work counters. A PR that adds renders, Blocks, arm swaps or rollbacks then shows them by name in the sticky comment. - Precise coverage stays. It remains the oracle for the shipped production program. Profile counters complement it: their names are semantic and stable, they carry attribution and reasons, and they work in real apps and in DEV. Where a semantic counter exists, replace the private function names in the metric lists (suspense-recovery, activity, spa-navigation).
- Where tests live. Exact counts are optimization claims, so under the testing rules they belong in the benchmark system, not in correctness tests. The profiler's own tests run in the
octane-profileVitest project. They assert the API contract and that each probe fires in its scenario.
Phasing
- Counter core in
profiling.ts: event ids, the typed-array table,counters,snapshot,diffandgetCommits. Probes for Blocks, arms, keyed lists, boundaries, rollbacks, commits and effects. The code-identity strip gate. Complete: feat(octane): count engine work in profile builds #1894, fix(octane): fold profiling guards out of the vite dev runtime #1898 and feat: complete profiling counter core #1955.- Event ids, the preallocated
Float64Arraytable,counters(),snapshot()anddiff()(feat(octane): count engine work in profile builds #1894). Snapshots carry the review's envelope: schema, recording generation, build and renderers.diffrejects pairs it cannot compare, and a counter that no installed renderer records is absent rather than 0. - 15 counters (feat(octane): count engine work in profile builds #1894):
component.render,component.renderSuspended,component.renderErrored,component.bailout,block.create,block.unmount,arm.keep,arm.swap,boundary.fallback,boundary.catch,scheduler.drain,commit.root,rollback.root,rollback.journalEntriesandrollback.capture. Drains, render attempts and accepted commits are separate. The journal count uses the checkpoint, and a parked row is not a rollback. -
getCommits(), with commit identities distinct fromDRAIN_IDand delayed effects attributed to the transaction that queued or published them (feat: complete profiling counter core #1955). History is bounded bybufferSize, reports dropped records, and returns detached copies. - The remaining Phase 1 probes from §1 (feat: complete profiling counter core #1955; 60 counters total): keyed lists (
list.*,for.*), effects (through the shared cleanup helper) and refs,arm.swapOffscreen,block.lite/deopt/cacheHit, the other boundary transitions, Activity, View Transitions, the other rollback kinds,flushby priority,commit.effects,task.post,suspend.throw,use.stratum,cascade.layoutandcomponent.renderPhaseReplay. - Exclusive per-component counters in
summary(), retained independently of timing events with bounded detail and an explicittruncatedflag (feat: complete profiling counter core #1955). - Optimized output is code-identical to
mainwith profiling off: esbuild bundles ofindex.tsanduniversal.ts, identifiers kept, checked once in feat(octane): count engine work in profile builds #1894.production-profile-bundle.test.tsasserts the profiler is absent there and present in the production profiling build. -
vite devwithout profiling serves no guards and does not loadprofiling.ts(fix(octane): fold profiling guards out of the vite dev runtime #1898). - Automated code-identity gate in
production-profile-bundle.test.ts(feat: complete profiling counter core #1955): index/universal exports, five minimal fixtures, js-framework, TodoMVC and chat in development and production (20 entry/mode comparisons), with identifiers kept and zero retained profiler bytes. The pinned-base comparison also passed. Fully minified identifier names can change.
- Event ids, the preallocated
- Hook counts: per kind and per slot, closing the
resolveSlotearly-return gap, plususe()anduseContext. - Hydration counters.
- Timeline: the Scheduler track, markers, counter and instant events in
exportTrace, and the opt-in console. -
<Profiler>, as its own milestone per the review, including keyed identity when profiling is off. - Bench integration: the helper, the
pr-reportdiff, and migrating the precise-coverage metric lists. Partly done.-
benchmarks/lib/profile-counters.mjs, with the review's operation boundary: snapshot, operation, completion condition, snapshot, then semantic verification. Its first lane,benchmarks/suspense-recovery/profile-counters.mjs, runs in the weekly Bench workflow (feat(octane): count engine work in profile builds #1894). - The
pr-report.mjsdiff in the sticky comment. Migrating the precise-coverage metric lists.Dropped per review point 4. Profile builds compile the generic program, so precise coverage stays the production oracle and the profile lane runs beside it.
-
- DevTools tabs.
Acceptance criteria
- Stripping. With profiling off, DEV and PROD bundles for the bundle-size corpus are byte-identical to
main, and the strip tests assert the new probes are absent. The automated stable-identifier gate now covers 20 entry/mode combinations (feat: complete profiling counter core #1955), andvite devdrops the guards (fix(octane): fold profiling guards out of the vite dev runtime #1898). Rspack's unminified DEV stripping remains open; the broad guarantee is not fully met. - Coverage. Profile builds report every counter in §1, and an
octane-profiletest covers each one. Phase 1 now has 60 counters (feat: complete profiling counter core #1955), covered by 40 profiling runtime integration tests plus an optimized-dependency cache-hit fixture inproduction-profile-bundle.test.ts. Hook and hydration coverage remain later phases. - Overhead. feat: complete profiling counter core #1955 adds
benchmarks/js-framework/profile-overhead.mjsand reports counter-work-disabled, global-counter and full-attribution lanes on the same profile-compiled js-framework program. It uses 3 warmups and 9 samples with rotating lane order and DOM verification. Timeline output stays off; its future overhead is separate. Measurements and limitations are in the PR. - Hot paths. No hot class gains a field, and
perf-reviewis clean. Verified through feat: complete profiling counter core #1955: no new Block/Scope/LiteBlock fields, 0 scan candidates, and all 64 production work counters unchanged in the PR benchmark. -
<Profiler>. It matches React on the number ofonRendercalls and thephaseof each commit, using a differential fixture. Durations are non-negative and monotonic. - Docs.
website/src/content/docs/profiling.mdx,docs/devtools.mdanddocs/differences-from-react.mdare updated. feat: complete profiling counter core #1955 updatesprofiling.mdxanddocs/devtools.mdwith all 60 counter units, commit attribution, retention and recording lifecycle. The later<Profiler>/parity documentation remains open.
Open questions
- Counters on the production program. Profile builds compile the generic DEV program, not production output, so profile counts can't show what production-only compilation saves. Should there be a counters-only level, for example
profile: 'counters'? It would turn on the runtime define but leave compiler output exactly as in production. That gives engine counters on the shipped program, without per-component or per-hook attribution. The alternative is to keep precise coverage as the only production oracle. - DEV vs PROD + PROFILING. Should a test assert identical counts for the same fixture in both modes, so DEV + PROFILING numbers can be trusted as evidence of production regressions? HMR wrappers and DEV diagnostics are the likely sources of difference.
- Counter key stability. Counter names become a baseline contract for benchmarks. Should they be versioned, like the devtools protocol? Partly answered: snapshots carry a
schemaversion, anddiffrejects a mismatch (feat(octane): count engine work in profile builds #1894). - Per-slot hook attribution. It needs the compiler's
Symbolslots, which profile builds already use. Is counting per hook kind enough for the first cut?
Activity
domgan-oai commentedon Oct 8, 2026
I support the direction. Stable counters for wasted renders, rebuilt arms and abandoned work would add useful explanations to the existing component timing and event data. Reusing
profiling.ts, keeping the existing compile-time guard, and avoiding new fields on hot objects are good constraints.After checking the pinned source, I would tighten the measurement contract before implementing the full counter inventory:
Separate drains, render attempts and accepted commits.
DRAIN_IDis explicitly a per-queue-pass loop-guard ID, not a commit ID. One drain can process multiple root transactions, while initial root rendering can commit outside a drain. Keep those identities distinct in profile-only state. Work counters should retain failed/discarded attempts—the work happened even when its DOM changes were rolled back—andcommit.rootshould count acceptance rather than entry intocommitRootRenders. Delayed effects need their originating commit attribution. Multi-root batching, synchronous mount, boundary retries and layout cascades would be useful contract fixtures.Correct a few proposed counting sites and units.
fireEffectCleanupmisses unmount, passive deletion and Activity teardown paths; the existing shared cleanup callback helper is a better execution probe. Count actual callback invocation, including a callback that throws, rather than a stale queue entry. For journal rollback, entries undone should be(log.length - checkpoint) / 4, sampled before truncation: partial rollback accepts a nonzero checkpoint. Also,parkItemForHoldretains a row pending commit; parking is not itself rollback.row.parkwould describe that work more accurately. A short definition of each counter's unit and successful/attempted semantics would prevent implementation details becoming misleading public metrics.Resolve the DEV byte-identity contradiction. Adding branches that remain as
if (false)changes unminified served code even though they execute nothing. Either actually strip them from the DEV artifact or explicitly distinguish that guarantee from byte-identical optimized output. Keep the strict comparison for optimized non-profile builds against a pinned baseline with identical build inputs. The existing production strip test is minified, so it does not establish the unminified DEV claim.Keep profile counters and production work coverage as separate benchmark lanes. The issue already identifies the compiler difference, but “replace the private function names” could accidentally remove production regression coverage. Profile compilation disables production optimizations, so a semantic counter from that program is not a replacement for observing the shipped program. DEV/profile equality would only prove agreement between those configurations. I would keep precise coverage initially and consider
profile: 'counters'separately, with evidence that it preserves production lowering and covers optimized paths that bypass the generic probes.Give
<Profiler>its own aggregation and lifetime contract. Current renderdurationis inclusive; the recorder also calculatesselfDuration. Summing inclusive descendant durations double-counts nested work. Use per-instance self costs, aggregate into every enclosing Profiler rather than only the nearest, and keep the committed-tree baseline safe across failed attempts, rollback and deletion. Do not derive callbacks or baselines from the bounded event buffer. I would have explicitonRendercallbacks remain functional when global trace recording is stopped. For acceptance, require finite nonnegative durations and ordered timestamps, with a sharedcommitTimefor one commit; durations themselves are not monotonic and can decrease after memoization. React's callback contract is the reference, with differential tests pinned to a React version.Preserve keyed identity when profiling is off. Replacing
<Profiler>with its children needs a semantic proof, not just dead-code elimination. Changing<Profiler key={k}>must retain the expected descendant remount behavior, and lowering must preserve observable prop-expression evaluation. React retains the keyed Profiler node even when timing is disabled. Strip measurement work while preserving reconciliation semantics; test the same keyed-remount fixture with profiling on and off.Useful extensions I would include in the initial API design:
clear(). An unsupported counter should be distinguishable from a supported counter reporting zero. Prefer per-kind hook counts initially; per-slot attribution can follow once there is a consumer.console.timeStamphas no arbitrary-properties argument: commit counter properties would need an optional User Timing entry or the exported trace/API. Chrome's API distinguishes those capabilities.For delivery, I would move one benchmark integration into phase 1: a small counter set covering the issue's motivating examples,
snapshot/diff, the stripping gate, and a real interaction with a visible-outcome check. That validates the entire measurement path early. Expand hooks/hydration and timeline coverage afterward, and keep<Profiler>as a separate milestone because its commit, identity and subtree-lifetime semantics are appreciably larger than the counter core.Agent-assisted feedback from Codex. This is a source-level design review, not implementation or benchmark validation. Reviewed the issue's pinned revision and checked the subsequent main revision
8444db8ae9; the cited runtime/profiler paths were unchanged.feat(octane): count engine work in profile builds (#1894)