blender-open-data/website/DESIGN.md
Francesco Siddi d2857b98f3 Website: Add support for Blender 3.0
This commit introduces:

- a new measurement unit: samples_per_minute
- benchmark-v4.json: a new schema that provides samples_per_minute
  as part of scene stats
- migration to reindex all previous samples (we calculate the samples
  per minute by using <samples> / render_time_no_sync * 60

The new measurement unit is not exposed yet, and the site still works
as originally designed.

Thanks to Anna and Sergey for the support while implementing this.
2022-02-17 20:18:03 +01:00

463 B

Design

The website is mostly a simple Django app except for the fact that we have the Benchmark model being handled by PostgreSQL directly. The original functionality is defined in opendata_main/migrations/0003_benchmarks.sql, and it has been partially updated to support Blender 3.0 in opendata_main/migrations/0006_add_samples_per_minute.sql.