test(benchmark): add for tag switch
Closes https://github.com/awesomeWM/awesome/pull/465.
This commit is contained in:
parent
4e22cf02e6
commit
3fea174c5e
|
@ -87,9 +87,15 @@ local function update_textclock()
|
||||||
do_pending_repaint()
|
do_pending_repaint()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local function e2e_tag_switch()
|
||||||
|
awful.tag.viewnext()
|
||||||
|
do_pending_repaint()
|
||||||
|
end
|
||||||
|
|
||||||
benchmark(create_wibox, "create wibox")
|
benchmark(create_wibox, "create wibox")
|
||||||
benchmark(update_textclock, "update textclock")
|
benchmark(update_textclock, "update textclock")
|
||||||
benchmark(relayout_textclock, "relayout textclock")
|
benchmark(relayout_textclock, "relayout textclock")
|
||||||
benchmark(redraw_textclock, "redraw textclock")
|
benchmark(redraw_textclock, "redraw textclock")
|
||||||
|
benchmark(e2e_tag_switch, "tag switch")
|
||||||
|
|
||||||
require("_runner").run_steps({ function() return true end })
|
require("_runner").run_steps({ function() return true end })
|
||||||
|
|
Loading…
Reference in New Issue