New UI panes benchmark to highlight recent perforammance regression there
parent
6b07c85fec
commit
5cd014f8ca
|
@ -12,7 +12,7 @@ IN: ui.gadgets.panes.tests
|
||||||
[ ] [ #children "num-children" set ] unit-test
|
[ ] [ #children "num-children" set ] unit-test
|
||||||
|
|
||||||
[ ] [
|
[ ] [
|
||||||
"pane" get <pane-stream> [ 10000 [ . ] each ] with-output-stream*
|
"pane" get <pane-stream> [ 100 [ . ] each ] with-output-stream*
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
[ t ] [ #children "num-children" get = ] unit-test
|
[ t ] [ #children "num-children" get = ] unit-test
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
USING: ui.gadgets.panes prettyprint io sequences ;
|
||||||
|
IN: benchmark.ui-panes
|
||||||
|
|
||||||
|
: ui-pane-benchmark ( -- )
|
||||||
|
<pane> <pane-stream> [ 10000 [ . ] each ] with-output-stream* ;
|
||||||
|
|
||||||
|
MAIN: ui-pane-benchmark
|
Loading…
Reference in New Issue