Skip to content

About

Continuous benchmarks for the Brightway LCA stack, with a correctness check beside every timing

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

230 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

brightway-benchmarks

python CodSpeed license OpenSSF Scorecard OpenSSF Best Practices DOI

How fast is Brightway, and does it still give the right answer? This repository times everyday LCA calculations across Brightway's releases: an LCI and LCIA, many functional units at once, Monte Carlo. Correctness checks run alongside the timings; the method explains the reference calculations and their coverage limits. A release that slows a calculation or changes a checked score shows up in the history.

The benchmarks run on synthetic databases that copy ecoinvent's degrees, loops and locality, so anyone can rerun them and the results can be published. They fill more than ecoinvent in a direct solver, so direct-solver times on them run high (#54). Two real databases sit beside them: USEEIO 1.1 (US EPA, public domain) and BAFU 2025 (Swiss Federal Office for the Environment), downloaded from files.brightway.dev by a pinned SHA-256 when BWBENCH_SIZES=useeio or bafu asks for them. BAFU 2025 is never copied into this repository or its results.

Every case's history is in the benchmark explorer.

Results so far

Make your Brightway faster says what to install or call. Four findings for most users:

Install a set that works

The Setup page shows a tested starting setup and the latest check and last passing set for each tested environment, including coverage gaps. It gives install commands for uv, pip, conda and pixi, pinned to a dated set. docs/running.md explains the installation files.

Run it yourself

You need Docker and just. Brightway's code runs in a throwaway container, never on your machine (assurance case).

just smoke                                 # every package's oldest and latest release, small database
BWBENCH_SIZES=ecoinvent just bench bw2calc # every bw2calc release on the ecoinvent-sized database
just compat 3.13                           # today's releases together on Python 3.13

More

About

Continuous benchmarks for the Brightway LCA stack, with a correctness check beside every timing

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages