Files
godot-benchmarks/main.tscn
Hugo Locurcio b416f5792a Add initial GDScript tests
- Add wall clock time measurement on benchmarks.
- Allow tests to not have a predefined time limit.
  - This is required for scripting tests.
- Fix culling tests not reporting GPU time.
2021-11-29 14:43:11 +01:00

113 lines
2.5 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://bcw2442lg1ymu"]
[ext_resource type="Script" path="res://main.gd" id="1"]
[node name="Main" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( "1" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
offset_left = 24.0
offset_top = 16.0
offset_right = 146.0
offset_bottom = 56.0
text = "Available Benchmarks:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Tree" type="Tree" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 24.0
offset_top = 40.0
offset_right = -18.0
offset_bottom = -45.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SelectAll" type="Button" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -520.0
offset_top = -32.0
offset_right = -438.0
offset_bottom = -12.0
rect_pivot_offset = Vector2(41, 20)
text = "Select All"
[node name="SelectNone" type="Button" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -424.0
offset_top = -32.0
offset_right = -335.0
offset_bottom = -12.0
rect_pivot_offset = Vector2(41, 20)
text = "Select None"
[node name="CopyJSON" type="Button" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -320.0
offset_top = -32.0
offset_right = -162.0
offset_bottom = -12.0
rect_pivot_offset = Vector2(41, 20)
text = "Copy JSON to clipboard"
[node name="Run" type="Button" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -104.0
offset_top = -32.0
offset_right = -22.0
offset_bottom = -12.0
rect_pivot_offset = Vector2(41, 20)
disabled = true
text = "Run
"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="."]
offset_left = 35.1181
offset_top = 572.436
offset_right = 132.118
offset_bottom = 612.436
text = "Test Time (sec)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TestTime" type="SpinBox" parent="."]
offset_left = 144.0
offset_top = 568.0
offset_right = 326.0
offset_bottom = 592.0
min_value = 1.0
value = 8.0
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="item_edited" from="Tree" to="." method="_on_Tree_item_edited"]
[connection signal="pressed" from="SelectAll" to="." method="_on_SelectAll_pressed"]
[connection signal="pressed" from="SelectNone" to="." method="_on_SelectNone_pressed"]
[connection signal="pressed" from="CopyJSON" to="." method="_on_CopyJSON_pressed"]
[connection signal="pressed" from="Run" to="." method="_on_Run_pressed"]