Skip to content

Instantly share code, notes, and snippets.

@RafaelGSS
Created February 11, 2026 20:40
Show Gist options
  • Select an option

  • Save RafaelGSS/a40ad969e104fdb143fdd44f3143e76d to your computer and use it in GitHub Desktop.

Select an option

Save RafaelGSS/a40ad969e104fdb143fdd44f3143e76d to your computer and use it in GitHub Desktop.
bun faster event-loop?
root@ubuntu-4gb-fsn1-1:~# node t.js && node t.js && node t.js
228.9K event loop iterations/sec (1,144,440 in 5.0s)
248.8K event loop iterations/sec (1,244,247 in 5.0s)
256.6K event loop iterations/sec (1,282,852 in 5.0s)
root@ubuntu-4gb-fsn1-1:~# bun t.js && bun t.js && bun t.js
114.3K event loop iterations/sec (571,724 in 5.0s)
122.5K event loop iterations/sec (612,894 in 5.0s)
96.3K event loop iterations/sec (481,396 in 5.0s)
root@ubuntu-4gb-fsn1-1:~# node -v
v24.13.1
root@ubuntu-4gb-fsn1-1:~# bun -v
1.3.9
root@ubuntu-4gb-fsn1-1:~# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
BIOS Vendor ID: QEMU
Model name: Intel Xeon Processor (Skylake, IBRS, no TSX)
BIOS Model name: NotSpecified CPU @ 2.0GHz
BIOS CPU family: 1
CPU family: 6
Model: 85
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 4
BogoMIPS: 4589.23
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp lm co
nstant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_dead
line_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault pti ssbd ibrs ibpb fsgsbase bmi1 avx2 smep bmi
2 erms invpcid avx512f avx512dq rdseed adx smap clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat pku ospke md_cle
ar
Virtualization features:
Hypervisor vendor: KVM
Virtualization type: full
Caches (sum of all):
L1d: 64 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 8 MiB (2 instances)
L3: 16 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0,1
Vulnerabilities:
Gather data sampling: Unknown: Dependent on hypervisor status
Itlb multihit: KVM: Mitigation: VMX unsupported
L1tf: Mitigation; PTE Inversion
Mds: Mitigation; Clear CPU buffers; SMT Host state unknown
Meltdown: Mitigation; PTI
Mmio stale data: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Reg file data sampling: Not affected
Retbleed: Mitigation; IBRS
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI SW loop, KVM SW loop
Srbds: Not affected
Tsx async abort: Not affected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment