Comments (7)
I think it has something to do with session creation because even benchmarks are affected:
szm@solus ~/Desktop/http2-wrapper $ 0x benchmark.js
🔥 Profiling(node:28089) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
http2-wrapper - preconfigured session x 16.78 ops/sec ±195.55% (73 runs sampled)
Fastest is http2-wrapper - preconfigured session
🔥 Flamegraph generated in
file:///home/szm/Desktop/http2-wrapper/28089.0x/flamegraph.html
szm@solus ~/Desktop/http2-wrapper $ 0x benchmark.js
🔥 Profiling(node:28182) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
http2-wrapper - preconfigured session x 7,671 ops/sec ±8.64% (72 runs sampled)
Fastest is http2-wrapper - preconfigured session
🔥 Flamegraph generated in
file:///home/szm/Desktop/http2-wrapper/28182.0x/flamegraph.html
from http2-wrapper.
Also something has changed in the Node.js core because the benchmarks show 7k instead of 12k and the native http2 is now 13k instead of 18k.
from http2-wrapper.
Even previous commits are impacted...
from http2-wrapper.
Still reproducible on v15.5.1
. Trying lower versions...
from http2-wrapper.
Still reproducible on v15.4.0
v15.3.0
v15.2.1
v15.1.0
v15.0.1
v14.15.4
v14.14.0
v14.0.0
v13.14.0
v12.20.1
from http2-wrapper.
This is going too far. Either my Linux distro messed up or dunno. I noticed that quite often songs on native Spotify (on Solus distro) go quite for a few seconds. Will have to debug tomorrow. Going to sleep now.
from http2-wrapper.
Definitely my distro messed up.
from http2-wrapper.
Related Issues (20)
- Support HTTPS servers without HTTP/2 support in auto.js
- Support sending request trailers
- Credentials `Proxy-Authorization` and `Authorization` headers are URL encoded, even though they shouldn't be
- Add socks proxy support.
- url.urlToHttpOptions(url) is not a function HOT 1
- error RequestError: read ECONNRESET HOT 4
- Adding `timeout` support to Proxy connection HOT 3
- `trailers` can get emitted before creating response HOT 1
- TypeError: Cannot set properties of null (setting 'trailers') HOT 4
- Test aborting via `signal`
- feature request: keep track of bandwidth usage HOT 7
- Http2OverHttp proxy still sends HTTP1.1 requests to target server. HOT 2
- Handle `GOAWAY` Frame HOT 1
- You broke GitHub HOT 1
- `agent › prevents session overloading #2` might be flaky
- Examples contain wrong path to load `cert.js` module HOT 1
- Repeat requests fail to reuse the first session HOT 1
- Destroy sessions when an error occurs HOT 6
- HTTP/2 pseudo headers should be converted/dropped when `auto` falls back to HTTP/1 HOT 1
- Request fails with NGHTTP2_PROTOCOL_ERROR for http2 requests HOT 2
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 http2-wrapper.