Results for 38 of 40 languages from this run on actest1.

Unavailable in this run: Hack, Lisp. Follow the run link for failure details.

Php VS Typescript benchmarks

Current benchmark data was generated on Sun Sep 27 2026, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (Model 58)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
typescript 1.ts 1467ms 24ms 373.7MB 1743ms 140ms deno 2.9.7
php 1.php 10062ms 39ms 111.8MB 10037ms 7ms php 8.3.6

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
typescript 1.ts 270ms 4.0ms 299.5MB 173ms 123ms deno 2.9.7
php 1.php 869ms 39ms 31.1MB 847ms 10ms php 8.3.6

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
typescript 1.ts 19ms 0.9ms 34.1MB 8ms 3ms deno 2.9.7
php 1.php 20ms 1.7ms 20.6MB 3ms 8ms php 8.3.6

merkletrees

Input: 17

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
typescript 1.ts 844ms 5.3ms 155.5MB 943ms 100ms deno 2.9.7
php 1.php 5831ms 51ms 82.1MB 5797ms 13ms php 8.3.6

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
typescript 1.ts 214ms 6.8ms 88.3MB 237ms 30ms deno 2.9.7
php 1.php 1203ms 2.2ms 34.9MB 1183ms 3ms php 8.3.6