mirror of
https://github.com/penpot/penpot.git
synced 2026-11-09 03:20:57 +00:00
- Improve readme - Migrate scene cases to measured commands and remove obsolete descriptors. - Preserve exact camera targets, including very small positive scales. AI-assisted-by: gpt-6.1-sol
26 lines
1.0 KiB
Clojure
26 lines
1.0 KiB
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
;;
|
|
;; Copyright (c) KALEIDOS SUBSIDIARY SL
|
|
|
|
(ns benches.render-wasm.quantities
|
|
"Portable descriptions of raw measured quantities.")
|
|
|
|
(def schema:description
|
|
[:map {:closed true}
|
|
[:unit keyword?]
|
|
[:description {:optional true} string?]])
|
|
|
|
(def descriptions
|
|
{:command/elapsed
|
|
{:unit :ms :description "Command core start through its completion endpoint."}
|
|
:renderer/call-elapsed
|
|
{:unit :ms :description "Elapsed time of each synchronous renderer call."}
|
|
:renderer/cache-call-elapsed
|
|
{:unit :ms :description "Elapsed time of each synchronous cached renderer call."}
|
|
:renderer/prepared-scene-to-full
|
|
{:unit :ms :description "Prepared scene render request through the renderer return at Full."}
|
|
:camera/finalization-to-full
|
|
{:unit :ms :description "Camera finalization through the renderer return at Full."}})
|