driver

command
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2026 License: BSD-3-Clause Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

The driver of the 3D comparison of docs/BENCHMARKS.md: it builds the Glutter app (../app) for the web, copies the three.js page and library beside it, and loads each page in headless Chromium, one at a time, the runs interleaved. Run it from the root of the repository:

go run ./benchmarks/threejs/driver <out> <three.js build> <runs> <secs>

<out> receives the site and a picture of each page's first run, to see that both draw the same; <three.js build> is the build folder of the three package (benchmarks/threejs/fetch.sh). SCENES (terrace, shared, separate, moving, onebox), KINDS (glutter, three, three-best) and APIS (webgl, webgpu) choose what runs, comma separated; Q is how many frames may be in flight (5 by default, as docs/BENCHMARKS.md was measured; with 1 every frame waits for the one before it, and both pages are capped by that round trip). It prints a line for each run and then the median of the runs of each page.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL