diff --git a/docs/dev/bench/data.js b/docs/dev/bench/data.js new file mode 100644 index 0000000..8aa4959 --- /dev/null +++ b/docs/dev/bench/data.js @@ -0,0 +1,197 @@ +window.BENCHMARK_DATA = { + "lastUpdate": 1717925437674, + "repoUrl": "https://github.com/lihop/godot-xterm", + "entries": { + "GodotXterm Benchmarks": [ + { + "commit": { + "author": { + "email": "git@leroy.geek.nz", + "name": "Leroy Hopson", + "username": "lihop" + }, + "committer": { + "email": "github@leroy.nix.nz", + "name": "Leroy Hopson", + "username": "lihop" + }, + "distinct": true, + "id": "9569c9e489a21cc866c7d3a36a7bc15462e480e6", + "message": "perf(term): add benchmarks\n\nAdds benchmarks by running [alacritty/vtebench](https://github.com/alacritty/vtebench)\nbenchmarks in the terminal.\nUses code based on [godotengine/godot-benchmarks](https://github.com/godotengine/godot-benchmarks)\nto measure average GPU and CPU time spent per frame.\nUses [github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark)\nfor continuous integration, and publishes benchmark results to https://lihop.github.io/godot-xterm/dev/bench/.", + "timestamp": "2024-06-09T21:21:30+12:00", + "tree_id": "2d7a176405a8291e0969057e1a3460d927d37e82", + "url": "https://github.com/lihop/godot-xterm/commit/9569c9e489a21cc866c7d3a36a7bc15462e480e6" + }, + "date": 1717925437036, + "tool": "customSmallerIsBetter", + "benches": [ + { + "name": "cursor_motion", + "value": 69.49, + "unit": "milliseconds", + "range": "± 16.92" + }, + { + "name": "cursor_motion - render cpu", + "value": 9.858, + "unit": "milliseconds" + }, + { + "name": "cursor_motion - render gpu", + "value": 1920, + "unit": "milliseconds" + }, + { + "name": "dense_cells", + "value": 104.1, + "unit": "milliseconds", + "range": "± 25.72" + }, + { + "name": "dense_cells - render cpu", + "value": 11.21, + "unit": "milliseconds" + }, + { + "name": "dense_cells - render gpu", + "value": 1982, + "unit": "milliseconds" + }, + { + "name": "editor_launch", + "value": 54.11, + "unit": "seconds" + }, + { + "name": "light_cells", + "value": 74.33, + "unit": "milliseconds", + "range": "± 13.27" + }, + { + "name": "light_cells - render cpu", + "value": 8.638, + "unit": "milliseconds" + }, + { + "name": "light_cells - render gpu", + "value": 1639, + "unit": "milliseconds" + }, + { + "name": "scrolling", + "value": 514.5, + "unit": "milliseconds", + "range": "± 19.28" + }, + { + "name": "scrolling - render cpu", + "value": 6.948, + "unit": "milliseconds" + }, + { + "name": "scrolling - render gpu", + "value": 3264, + "unit": "milliseconds" + }, + { + "name": "scrolling_bottom_region", + "value": 506.8, + "unit": "milliseconds", + "range": "± 18.03" + }, + { + "name": "scrolling_bottom_region - render cpu", + "value": 8.393, + "unit": "milliseconds" + }, + { + "name": "scrolling_bottom_region - render gpu", + "value": 3148, + "unit": "milliseconds" + }, + { + "name": "scrolling_bottom_small_region", + "value": 509.3, + "unit": "milliseconds", + "range": "± 23.49" + }, + { + "name": "scrolling_bottom_small_region - render cpu", + "value": 8.336, + "unit": "milliseconds" + }, + { + "name": "scrolling_bottom_small_region - render gpu", + "value": 3081, + "unit": "milliseconds" + }, + { + "name": "scrolling_fullscreen", + "value": 83.8, + "unit": "milliseconds", + "range": "± 6.34" + }, + { + "name": "scrolling_fullscreen - render cpu", + "value": 7.235, + "unit": "milliseconds" + }, + { + "name": "scrolling_fullscreen - render gpu", + "value": 1478, + "unit": "milliseconds" + }, + { + "name": "scrolling_top_region", + "value": 512.8, + "unit": "milliseconds", + "range": "± 23.35" + }, + { + "name": "scrolling_top_region - render cpu", + "value": 8.148, + "unit": "milliseconds" + }, + { + "name": "scrolling_top_region - render gpu", + "value": 3158, + "unit": "milliseconds" + }, + { + "name": "scrolling_top_small_region", + "value": 510, + "unit": "milliseconds", + "range": "± 18.54" + }, + { + "name": "scrolling_top_small_region - render cpu", + "value": 9.566, + "unit": "milliseconds" + }, + { + "name": "scrolling_top_small_region - render gpu", + "value": 3133, + "unit": "milliseconds" + }, + { + "name": "unicode", + "value": 90.46, + "unit": "milliseconds", + "range": "± 40.33" + }, + { + "name": "unicode - render cpu", + "value": 7.495, + "unit": "milliseconds" + }, + { + "name": "unicode - render gpu", + "value": 1409, + "unit": "milliseconds" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/docs/dev/bench/index.html b/docs/dev/bench/index.html new file mode 100644 index 0000000..6c88780 --- /dev/null +++ b/docs/dev/bench/index.html @@ -0,0 +1,281 @@ + + + + + + + Benchmarks + + + + +
+ + + + + + +