Comments (2)
post2str
should do.
For benchmarking you must use a local web server, maybe is just your ISP Routing/DNS capping everything to same speed.
Theres a basic web server that you can use to test stuff here:
https://github.com/juancarlospaco/faster-than-requests/blob/master/docker/server4benchmarks.nim
Whats the full command you used to compile it?, it depends a lot on the options used to compile, try using:
nim c -d:danger -d:ssl --threads:on --app:lib --gc:arc --out:faster_than_requests.pyd faster_than_requests.nim
is possible that some stuff may be similar speed to other libs nowadays, when it started it was faster on everything,
or maybe is just that your bottleneck is somewhere, like GIL, interpreter itself, mechanical disk, Routing/DNS, antivirus, etc.
It is not a drop-in replacement to any pre-existent software.
from faster-than-requests.
If theres no new question it will be closed soon.
For more speed you do it from the Nim side,
the more stuff you move from the interpreter side to the compiled side the faster it goes, so is really up to you,
Nim has Python syntax, just need to import it
https://github.com/Yardanico/nimpylib
from faster-than-requests.
Related Issues (20)
- this project is totally broken. A shame as I wanted to use it. [bug] HOT 6
- Can't install with pip [bug] HOT 10
- Can't locate my nim installation on EC2 Server [bug] HOT 1
- [Errno 2] No such file or directory: 'nimble' HOT 6
- [bug] No puedo instalarlo en python3.11 HOT 3
- Installing with pip returns an error HOT 2
- [bug] HOT 3
- Segmentation fault [bug] HOT 3
- FAQ: How is faster-than-requests faster than requests? HOT 2
- [bug] Cannot find reference 'put' in __init__.py HOT 4
- [bug] faster-than-requests doesn't work on Apple Silicon HOT 9
- its broken bruh HOT 4
- Is it possible to use a proxy with download ? HOT 4
- ImportError: dynamic module does not define module export function (PyInit_faster_than_requests) HOT 1
- [bug] CANNT INSTALL ON ARM64 HOT 3
- [bug] Nim documentation missing from README.md HOT 5
- [bug] The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] HOT 3
- [bug] No module named 'faster_than_requests' in ubuntu 22.04 install via pip using root access HOT 2
- [bug] Cant import faster_than_requests.pyd HOT 3
- [bug] unable to install from pip HOT 3
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 faster-than-requests.