From 80f5d73d0f35b39ccccf818b966c1efface13150 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Fri, 18 Feb 2022 00:09:08 +0100 Subject: [PATCH] [4.x] Benchmark for async function This adds a somewhat boring that measures how much time it takes to spawn 1.000.000 fibers. --- examples/90-async-benchmark.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/90-async-benchmark.php diff --git a/examples/90-async-benchmark.php b/examples/90-async-benchmark.php new file mode 100644 index 0000000..71378c3 --- /dev/null +++ b/examples/90-async-benchmark.php @@ -0,0 +1,15 @@ + true)(); +}