5 ms·
No artificial delay was added from what I can find. Here's the example from the tweet [0]. Feel free to tell me where the artificial delay is. [0] https://gith
by Jasper_ 5y ago
No artificial delay was added from what I can find. Here's the example from the tweet [0]. Feel free to tell me where the artificial delay is.
[0] https://github.com/pmndrs/react-three-fiber/blob/e3a71baad421a8b431866483d7d519e90c604206/examples/demos/dev/Benchmark.js https://github.com/pmndrs/react-three-fiber/blob/e3a71baad42...
- mlsarecmg 5y agowe're running in circles unfortunately and i've explained where the test you're referring to comes from and what it meant. i've posted the real test and if you want, engage in it. async function test() { const chars = `!"§$%&/()=?*#<>-_.:,;+0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz` const font = await new Promise((res) => new THREE.FontLoader().load("https://raw.githubusercontent.com/drcmda/scheduler-test/master/public/Inter%20UI_Bold.json", res)) console.time("test") for (let i = 0; i < 510; i++) { new THREE.TextGeometry(chars[Math.floor(Math.random() * chars.length)], { font, size: 1, height: 0.5, curveSegments: 80, bevelEnabled: false, }) } console.timeEnd("test") } test() // To really drive it home you'd have to repeat it every two seconds ... // setInterval(test, 2000) how react 18 concurrency works exactly, i think that's not the right place to churn through it. the react team has published tons of reading material as well as public talks.