Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just locking the version before beta @0.1.0 #97

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
15 changes: 15 additions & 0 deletions frameworks/vixeny-bun/hello_bench.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

import { vixeny } from "vixeny";


export default {
port: 8000,
fetch: vixeny()([
//@ts-ignore
{
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
4 changes: 2 additions & 2 deletions frameworks/vixeny-deno/hello_bench.ts
Original file line number Diff line number Diff line change
@@ -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!')
},
]),
);
Expand Down