| 212 | " log.info('users=%d', len(summary))\n"; |
| 213 | |
| 214 | static double elapsed_ms(struct timespec t0, struct timespec t1) { |
| 215 | double s = (double)(t1.tv_sec - t0.tv_sec); |
| 216 | double ns = (double)(t1.tv_nsec - t0.tv_nsec); |
| 217 | return s * 1000.0 + ns / 1000000.0; |
| 218 | } |
| 219 | |
| 220 | TEST(pylsp_bench_resolution_ratio) { |
| 221 | /* Perf benchmark: time-budgeted. Under ASan+UBSan the budget is scaled up |