-
Google
- Northern Bruce Peninsula, Canada
- mmocny.com
- @mmocny
Highlights
- Pro
Block or Report
Block or report mmocny
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
web-vitals-extension Public
Forked from GoogleChrome/web-vitals-extension
A Chrome extension to measure essential metrics for a healthy site
-
-
canvas-worker-raf-fps-meter Public
Better FPS Meter: Uses Canvas Worker to LIVE visualize main thread rAF fps and worker fps.
-
1
/* Usage:
2await Promise.firstOnly([
3(signal) => {
4return new Promise((resolve, reject) => {
5// ...do work and resolve();
-
1
import firstOnly from './Promise.firstOnly.polyfill.js';
23// Always unblocks next-render... but can leave main thread idle time while waiting for next frame.
4function doubleRaf(cb) {
5requestAnimationFrame(() => {
-
1
// Inspiration: https://www.abeautifulsite.net/posts/querying-through-shadow-roots/
23/*
4* Acts like querySelectorAll, except you can pass a list of selectors...
5* Each selector is evaluated within the shadowRoot of the previous NodeList
138 contributions in the last year
We're celebrating 100 million developers!
Less
More
Contribution activity
January 2023
Created 11 commits in 2 repositories
Created 1 repository
- mmocny/test-selective-hydration TypeScript
Reviewed 2 pull requests in 2 repositories
GoogleChrome/developer.chrome.com
1 pull request
GoogleChrome/web-vitals
1 pull request
Created an issue in w3c/event-timing that received 1 comment
Audit the list of events which Event Timing api should report (and consider adding focus/blur)
The current list of supported events is here I'm not sure what the best way to audit the list of events is. We do explicitly exclude continuous eve…
1
comment