Skip to content

Commit

Permalink
feat: add vixeny bun and updating website (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimiMonads authored Feb 28, 2024
1 parent 353474d commit f4ed74c
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 2 deletions.
8 changes: 8 additions & 0 deletions frameworks/vixeny-bun/framework.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
14 changes: 14 additions & 0 deletions frameworks/vixeny-bun/hello_bench.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

import { vixeny } from "vixeny";


export default {
port: 8000,
fetch: vixeny()([
{
path: "/",
type: "response",
r: () => new Response('Hello, Bench!')
},
])
}
65 changes: 65 additions & 0 deletions frameworks/vixeny-bun/results/hello_bench.json
Original file line number Diff line number Diff line change
@@ -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": {}
}
2 changes: 1 addition & 1 deletion frameworks/vixeny-deno/framework.json
Original file line number Diff line number Diff line change
@@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion frameworks/vixeny-deno/hello_bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Deno.serve(
{
path: "/",
type: "response",
r: () => new Response("hello world")
r: () => new Response('Hello, Bench!')
},
]),
);
Expand Down

0 comments on commit f4ed74c

Please # to comment.