diff --git a/frameworks/vixeny-bun/framework.json b/frameworks/vixeny-bun/framework.json new file mode 100644 index 0000000000..a3202c168d --- /dev/null +++ b/frameworks/vixeny-bun/framework.json @@ -0,0 +1,8 @@ +{ + "name": "Vixeny (Bun)", + "description": "A pure functional web framework", + "website": "https://vixeny.dev/", + "benchmarks": { + "hello_bench": "bun run hello_bench.ts" + } +} diff --git a/frameworks/vixeny-bun/hello_bench.ts b/frameworks/vixeny-bun/hello_bench.ts new file mode 100644 index 0000000000..c066e4c299 --- /dev/null +++ b/frameworks/vixeny-bun/hello_bench.ts @@ -0,0 +1,15 @@ + +import { vixeny } from "vixeny"; + + +export default { + port: 8000, + fetch: vixeny()([ + //@ts-ignore + { + path: "/", + type: "response", + r: () => new Response('Hello, Bench!') + }, + ]) +} \ No newline at end of file diff --git a/frameworks/vixeny-bun/results/hello_bench.json b/frameworks/vixeny-bun/results/hello_bench.json new file mode 100644 index 0000000000..83e20dcd26 --- /dev/null +++ b/frameworks/vixeny-bun/results/hello_bench.json @@ -0,0 +1,65 @@ +{ + "summary": { + "successRate": 1, + "total": 10.000282528, + "slowest": 0.004826863, + "fastest": 0.000184995, + "average": 0.0009211311686509055, + "requestsPerSec": 54184.36913985557, + "totalData": 5960449, + "sizePerRequest": 11, + "sizePerSec": 596028.0605384113 + }, + "responseTimeHistogram": { + "0.000184995": 1, + "0.0006491817999999999": 70174, + "0.0011133686": 431014, + "0.0015775554": 40051, + "0.0020417421999999997": 386, + "0.0025059289999999996": 58, + "0.0029701157999999996": 56, + "0.0034343025999999995": 68, + "0.0038984893999999995": 13, + "0.0043626762": 22, + "0.004826863": 16 + }, + "latencyPercentiles": { + "p10": 0.000621936, + "p25": 0.000840658, + "p50": 0.000961162, + "p75": 0.001045675, + "p90": 0.001098198, + "p95": 0.001136389, + "p99": 0.001247979 + }, + "rps": { + "mean": 54178.49373398133, + "stddev": 7342.677493984275, + "max": 81970.05160610522, + "percentiles": { + "p10": 48563.68389657333, + "p25": 49716.23157780649, + "p50": 51003.26631330465, + "p75": 57827.72839576541, + "p90": 65336.000136078095, + "p95": 69984.82160377948, + "p99": 76082.28059937693 + } + }, + "details": { + "DNSDialup": { + "average": 0.00120467458, + "fastest": 0.000081853, + "slowest": 0.002120262 + }, + "DNSLookup": { + "average": 0.000021619260000000002, + "fastest": 0.000003396, + "slowest": 0.000715991 + } + }, + "statusCodeDistribution": { + "200": 541859 + }, + "errorDistribution": {} +} \ No newline at end of file diff --git a/frameworks/vixeny-deno/framework.json b/frameworks/vixeny-deno/framework.json index 705db63f83..4e9c6a5b7c 100644 --- a/frameworks/vixeny-deno/framework.json +++ b/frameworks/vixeny-deno/framework.json @@ -1,7 +1,7 @@ { "name": "Vixeny (Deno)", "description": "A pure functional web framework", - "website": "https://github.com/mimiMonads/functor", + "website": "https://vixeny.dev/", "benchmarks": { "hello_bench": "deno run -A --unstable hello_bench.ts" } diff --git a/frameworks/vixeny-deno/hello_bench.ts b/frameworks/vixeny-deno/hello_bench.ts index c8d0b2ddfe..d99e2ea1c7 100644 --- a/frameworks/vixeny-deno/hello_bench.ts +++ b/frameworks/vixeny-deno/hello_bench.ts @@ -1,12 +1,12 @@ -import vixeny from "https://deno.land/x/endofunctor/fun.ts"; +import vixeny from "https://deno.land/x/endofunctor@v0.0.950/fun.ts"; Deno.serve( vixeny()([ { path: "/", type: "response", - r: () => new Response("hello world") + r: () => new Response('Hello, Bench!') }, ]), );