choojs / choojs/nanotiming

Uncaught DOMException: Failed to execute 'measure' on 'Performance'

Open
#18 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
35
Forks
8
PR merge metrics
No merged PRs in 30d

Description

`Uncaught DOMException: Failed to execute 'measure' on 'Performance': The mark 'end-24206000-nanocomponent.render' does not exist.`

@yoshuawuyts :
> nicknikolov: okay: what I suspect is happening is that your performance timer buffer is full
> 13:44 and you have a mismatched pair of performance timings
> 13:44 e.g. it wrote the first one, but can't write the last one
> nicknikolov: what we should do is if the performance timer buffer can only store 10 or so more items, we don't start the measure
> 13:45 convert it to a noop
> 13:45 usually it means you've already stored 140 entries already
> 13:45 which probably means you're not clearing them

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the DOMException and tracing the code that creates and measures performance marks. Check how the performance timer buffer and stored entries are handled; done means measurement no longer throws when the buffer is full or the mark pair is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.