Replies: 2 comments 2 replies
-
|
I find that there is the response header >curl -v http://127.0.0.1:8000/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8000 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Connection: keep-alive
< Referrer-Policy: same-origin
< X-Frame-Options: DENY
< VARY: Cookie
< Content-Type: text/html
< Content-Length: 36
< Set-Cookie: sessionid=eyJfbWFydGVuIjp7InZhbHVlIjoiTlRGa05qSmtZV1V6TlRsak5tWmtNamczTVdJMFlqaGpaVEkzTjJSa1l6TmxORE00TTJZMU9UUXpNVGd4TldZM05tUTBZV1kwTW1JelpUSmpaV1U0WXc9PSIsImV4cGlyZXMiOiIyMDI1LTEyLTE2VDAyOjM1OjEwWiJ9fQ==--2214429393723a00469faedf4705b5204fcf0e709af3a6353b50331cdf25dbcb; path=/; expires=Tue, 16 Dec 2025 02:35:10 GMT; SameSite=Lax
<
2025-12-02 02:35:10 UTC Hello World!* Connection #0 to host 127.0.0.1 left intact |
Beta Was this translation helpful? Give feedback.
-
|
I converted this to a discussion as this is not a bug per se. I don't really know the conditions under which your test was performed (which settings, which middlewares, which environment, etc - you would need to share your exact project structure for us to try to reproduce), but if you are curious about benchmarks you can see that Marten performs fairly well in this one that we regularly update with new releases (~38k requests/sec). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version info: marten-0.6.1, crystal-1.18.2-msvc, windows x64
The marten test source
The test case
>server --log-level errorHere
-nonly uses 1000 in the ab test for the time too long in the martin test.The test source
The crystal http demo
The test case
The test source
Beta Was this translation helpful? Give feedback.
All reactions