test(benchmark): add for tag switch

Closes https://github.com/awesomeWM/awesome/pull/465.
This commit is contained in:
actionless 2015-09-22 00:19:20 +02:00 committed by Daniel Hahler
parent 4e22cf02e6
commit 3fea174c5e
1 changed files with 6 additions and 0 deletions

View File

@ -87,9 +87,15 @@ local function update_textclock()
do_pending_repaint()
end
local function e2e_tag_switch()
awful.tag.viewnext()
do_pending_repaint()
end
benchmark(create_wibox, "create wibox")
benchmark(update_textclock, "update textclock")
benchmark(relayout_textclock, "relayout textclock")
benchmark(redraw_textclock, "redraw textclock")
benchmark(e2e_tag_switch, "tag switch")
require("_runner").run_steps({ function() return true end })