-
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