Giter Club home page Giter Club logo

Comments (7)

szmarczak avatar szmarczak commented on August 23, 2024

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.

szmarczak avatar szmarczak commented on August 23, 2024

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.

szmarczak avatar szmarczak commented on August 23, 2024

Even previous commits are impacted...

from http2-wrapper.

szmarczak avatar szmarczak commented on August 23, 2024

Still reproducible on v15.5.1. Trying lower versions...

from http2-wrapper.

szmarczak avatar szmarczak commented on August 23, 2024

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.

szmarczak avatar szmarczak commented on August 23, 2024

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.

szmarczak avatar szmarczak commented on August 23, 2024

Definitely my distro messed up.

from http2-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.