fn compute_tick_duration(tick_actions: &Vec<(String, ActionItem)>) -> u64
https://w3c.github.io/webdriver/#dfn-computing-the-tick-duration