Skip to content

About

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

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

199 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. It checks every result against an independent reference score, so a release that slows a calculation or changes a score shows up here.

The benchmarks run on synthetic databases that copy ecoinvent's structure, so anyone can rerun them and the results can be published. One real database sits beside them: USEEIO 1.1 (US EPA, public domain), downloaded from files.brightway.dev by a pinned SHA-256 when BWBENCH_SIZES=useeio asks for it.

Every case's history is on the benchmark pages.

Results so far

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

Install a set that works

Each night the newest Brightway releases are installed together and every case runs once. The site's works together today table links the last set that passed; docs/running.md says how to install it.

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

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages