web

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: 10 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 2D comparison on the web (../web.sh builds the sites and runs it): it loads the page of each site in headless Chromium, one at a time, each scene of each app in turn, and prints the RESULT line that the page reports after the app's name and the scene, as ../run.sh does, so that ../summary.py takes its output. Run it from the root of the repository:

go run ./benchmarks/ui/web <runs> <secs> <name>=<site>...

A site is a folder with index.html: the build of the Glutter app (glutter-web build), whose page the driver loads once for each renderer of RENDERERS (webgpu,webgl by default) under the name <name>-<renderer>, or Flutter's web build of its app (a name that starts with "flutter"). SCENES chooses the scenes (cells,scroll,static by default). The page is 1280x800 CSS pixels at a device pixel ratio of 1. The browser draws as many frames as it can (--disable-frame-rate-limit, --disable-gpu-vsync), so fps is the frames a second without a limit; a page has no CPU time or memory of a process, so cpu_ms and rss_mb are 0.

Jump to

Keyboard shortcuts

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