Commit 4153902
committed
debug(audience): add T1/T2/T3 timing markers in HttpTransport.SendBatchAsync
Temporary diagnostic for the Unity 6 Linux PlayMode regression. Tests
on Unity 6 Mono Linux take ~33 sec each vs ~1.8 sec on Unity 2021.3
Mono Linux for the same suite, same llvmpipe, same network endpoint.
T1 logs request start, T2 logs response received (continuation back on
the main thread), T3 logs batch deletion done. Comparing T1->T2 vs
T2->T3 gaps across Unity versions disambiguates whether the stall is
inside HttpClient.SendAsync (network/socket/TLS regression in Unity 6
Mono on Linux) or in the awaiter continuation (SyncContext dispatch
regression on Unity 6 Linux player loop).
To revert: drop this commit.1 parent 1c7bd06 commit 4153902
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
98 | 110 | | |
99 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
100 | 115 | | |
101 | 116 | | |
102 | 117 | | |
| |||
113 | 128 | | |
114 | 129 | | |
115 | 130 | | |
| 131 | + | |
116 | 132 | | |
117 | 133 | | |
118 | 134 | | |
| |||
0 commit comments