タップしてから反応するまでを実機で測った ── 28ms の内訳Measuring tap latency on a real phone: where the 28 ms goes
/ WAITROOM 運営事務局WAITROOM Operations Office
反射神経を競うゲームでは、端末の遅れがそのまま記録に混ざります。iPhone の実機で「画面に触れてから画面が変わるまで」を測ったところ、中央値は 28ms でした。その内訳と、そこから決めた判定の方法をまとめます。In reflex games, any delay in the device ends up in your record. We measured the time from touching the screen to the screen changing on a real iPhone: the median was 28 ms. Here is the breakdown, and how it shaped the way we judge taps.
なぜ最初に測ったのか
シグナルタップは、画面が光ってからタップするまでの時間を競うゲームです。人の反応はおおよそ 0.2〜0.3 秒なので、端末の側で何十ミリ秒も遅れると、測っているのが人なのか端末なのか分からなくなります。
そこで、ゲームを作り込む前に「触れてから画面が変わるまでを 50ms 以内に収める」という目標を決め、まず本当にそうなっているかを確かめることにしました。届かないようなら、ゲームの判定の仕組みから考え直す必要があったからです。
自動テストでは測れない
WAITROOM には、ブラウザを自動で操作してゲームを最後まで遊ぶテストがあります。ただ、自動で押したタップはプログラムが作った「合成のタップ」で、指が画面に触れてから OS とブラウザを通ってくる経路を通りません。そのため、遅れの数字としては意味がありません。
この測定だけは、実機を指で何度もタップして測りました。2026年9月、当時の公開先にデプロイしたものを iPhone で開き、計測用のページで繰り返しタップしています。
2つの区間に分けて測る
ブラウザは、画面に触れた瞬間の時刻をタップの情報に記録しています(timeStamp)。これを使うと、遅れを次の2つの区間に分けられます。
① 画面に触れてから、ゲームのプログラムがそのタップを受け取るまで。② プログラムが受け取ってから、次に画面が描き替えられるまで(requestAnimationFrame で次の描画の時刻を取ります)。
①はブラウザと OS の中で起きることで、②はゲームのプログラムの側で起きることです。分けておくと、どちらを速くすれば効くのかが分かります。
結果:中央値 28ms、遅いほうでも 34ms
合計は中央値(p50)で 28ms、遅いほうから 5%(p95)で 34ms でした。目標の 50ms には十分収まっています。
内訳は、① 触れてから受け取るまでが中央値 25.0ms/p95 29.0ms、② 受け取ってから描き替えまでが中央値 3.0ms/p95 5.0ms でした。遅れのほとんどは、ゲームのプログラムに届く前に生じていたことになります。
分かったこと:プログラムを速くしても体感は変わらない
ゲームの側で削れるのは②だけですが、②はすでに 3ms 前後で、画面の描き替え1回分(60Hz の画面で約 16.7ms、120Hz でも約 8.3ms)より短くなっていました。ここをさらに速くしても、遊ぶ人に分かる差にはなりません。
その代わりに変えたのが判定の方法です。プログラムが受け取った時刻で判定すると、①の 25ms ほどが毎回記録に上乗せされます。WAITROOM では、ブラウザが記録した「触れた瞬間の時刻」で判定しています。シグナルタップの反応時間も、ジャストストップでバーを止めた位置も、この時刻をもとに計算します。
もう一つ、プレイ中の画面には広告や外部のスクリプトを読み込まないことにしました。測った数字を、あとから自分たちで悪くしないためです。
記録を見るときの注意
①の時間は、端末や OS、ブラウザによって変わります。今回の数字は iPhone 1台での値で、ほかの端末では数ミリ秒から十数ミリ秒ずれることがありえます。そのため、違う端末どうしで数ミリ秒差を比べてもあまり意味はありません。自己ベストは端末ごとに保存されるので、同じ端末で自分の前回と比べるのがいちばん確かです。
なお、その後サイトの公開先を移しましたが、測り直しはしていません。①も②も端末の中で起きることなので、公開先によって変わるものではないと考えています。
Why we measured first
In Signal Tap, you compete on the time between the screen lighting up and your tap. Human reaction is roughly 0.2 to 0.3 seconds, so if the device adds tens of milliseconds, it becomes unclear whether we are measuring the person or the phone.
Before building the games out, we set a goal: under 50 ms from touch to screen change. We checked that first, because if we could not reach it, we would have had to rethink how the games judge taps.
Automated tests cannot measure this
WAITROOM has tests that drive a browser and play every game to the end. But a tap made by a program is a synthetic event. It never travels the path from a finger through the OS and browser, so its timing means nothing here.
For this one measurement we tapped a real phone with a finger, many times. In September 2026 we opened the deployed site on an iPhone and tapped repeatedly on a measurement page.
Splitting the delay in two
The browser records the moment of the touch on each tap event (timeStamp). With it, the delay splits into two parts.
(1) From touching the screen until the game code receives the tap. (2) From receiving it until the screen is next redrawn (we take that time with requestAnimationFrame).
Part 1 happens inside the browser and OS; part 2 happens in the game code. Splitting them tells you which one is worth speeding up.
Result: 28 ms median, 34 ms at the slow end
The total was 28 ms at the median (p50) and 34 ms at the slowest 5% (p95), well inside the 50 ms goal.
Part 1 was 25.0 ms median / 29.0 ms p95; part 2 was 3.0 ms median / 5.0 ms p95. Almost all of the delay happens before the tap ever reaches the game code.
What we learned: faster code would not feel faster
The game can only shave part 2, and part 2 was already about 3 ms, shorter than one screen refresh (about 16.7 ms at 60 Hz, about 8.3 ms at 120 Hz). Making it faster would make no difference anyone could feel.
What we changed instead was how taps are judged. Judging by the time the code receives a tap would add part 1, about 25 ms, to every record. WAITROOM judges by the touch time the browser recorded. Both the reaction time in Signal Tap and where the bar stops in Just Stop are calculated from it.
We also decided never to load ads or other third-party scripts on screens where you are playing, so that we would not make these numbers worse ourselves.
A note when comparing records
Part 1 varies by device, OS and browser. These numbers come from one iPhone; other devices may differ by a few milliseconds to over ten. Comparing a few milliseconds across different devices means little. Personal bests are saved per device, so comparing with your own past runs on the same device is the most reliable.
We have since moved the site to a different host and have not measured again. Both parts happen inside the device, so we do not expect the host to change them.