File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
docs/spectator/lang/nodejs Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -454,11 +454,13 @@ describe("Protocol Parser Tests", (): void => {
454454On an ` m5d.2xlarge` EC2 instance, with ` Node.js v22.16.0` and ` nflx-spectator: ^3.0.5` , we have
455455observed the following single- threaded performance numbers across a two- minute test window :
456456
457- * ??? requests/ second over ` udp`
457+ * 85 , 317 requests/ second over ` udp` with ` await `
458458
459459The benchmark incremented a single counter with two tags in a tight loop, to simulate real- world tag
460460usage, and the rate- per- second observed on the corresponding Atlas graph matched . The protocol line
461461was ` 74` characters in length.
462462
463- The Node .js process CPU usage was ~ 100 % and the ` spectatord` process CPU usage was ~ 55 % on this 8
463+ The Node .js process CPU usage was ~ 100 % and the ` spectatord` process CPU usage was ~ 50 % on this 8
464464vCPU system.
465+
466+ Without ` await` , a heap limit allocation fail error will occur around 5 .5M iterations at 34 seconds.
You can’t perform that action at this time.
0 commit comments