Comments (2)
I haven't used valgrind to profile it.
But I guess there may exists some aspects which caused its slowness:
httpbeast
uses nilHttpHeaders
default,Prologue
uses emptyHttpHeaders
default.Prologue
uses middlewares which increases overhead.Prologue
parses query parameters, form parameters and so on.- It has
startup
,shutdown
event, static file, to check whether exist. Prologue
uses logging to print msgs.- Request and Response encapsulation increase overhead.
Also lot of implementation defects will make it slow. I will improve its speed when I have free time.
from prologue.
from prologue.
Related Issues (20)
- Prologue Encryption - Docs for hashing utils provided by prologue + maybe swap to or offer openssl implementation? HOT 3
- Some characters are not allowed in paths always causes a stacktrace HOT 4
- Improve docs for retrieving settings
- Provide a debug log message when a route is added to prologue
- Error: unhandled exception: cannot read from file HOT 1
- Help with unknown error: "Error: type mismatch: got <Prologue, HttpCode, proc (ctx: Context): Future[system.void]{.locks: <unknown>.}>" HOT 2
- RFC - Add generic proc to parse `FormPart` into a nim object type HOT 1
- Trouble running with --threads:on HOT 2
- Error: You do not have permission to access this file. HOT 2
- Add docs that provide a general approach to testing prologue
- Feature Request: Middleware to map exceptions to response status codes
- Empty memorysession when route contains path params
- Enable subpixel hinting for fonts in the documentation
- FormPart does not handle multiple selections correctly HOT 1
- SIGSEV with --mm:orc and --threads:on HOT 1
- Is there a way to return HTTP 204 No Content without Content-Length and Content-Type headers?
- Getting client IP information (like in Jester) HOT 1
- Cannot serve dynamic websites HOT 2
- Type mismatch error HOT 1
- SIGSEGV: Illegal storage access. (Attempt to read from nil?) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prologue.