jsmpeg
hyperfine
Our great sponsors
jsmpeg | hyperfine | |
---|---|---|
3 | 74 | |
6,238 | 19,952 | |
- | - | |
0.0 | 8.1 | |
over 1 year ago | 22 days ago | |
JavaScript | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsmpeg
-
Making Python 100x faster with less than 100 lines of Rust
>Today, there is a Python package for everything.
The same could be said about CPAN and NPM. Yet Perl is basically dead and JavaScript isn't used for any machine learning tasks as far as I'm aware. WebAssembly did help bring a niche array of audio and video codecs to the ecosystem[1][2], something I'm yet to see from Python.
I don't use Python, but with what little exposure I've had to it at work, its overall sluggish performance and need to set up a dozen virtualenvs -- only to dockerize everything in cursed ways when deploying -- makes me wonder how or why people bother with it at all beyond some 5-line script. Then again, Perl used to be THE glue language in the past and mod_perl was as big as FastAPI, and Perl users would also point out how CPAN was unparalleled in breadth and depth. I wonder if Python will follow a similar route as Perl. One can hope :-)
[1] https://github.com/phoboslab/jsmpeg
-
Looking for a simple (MJPEG-like) browser-friendly way to stream live video
There's also mpegts over websockets if you don't need iphone support. https://github.com/phoboslab/jsmpeg
-
RTCP stream in HTML throught WebSocket
We will use jsmpeg to display the video on the page
hyperfine
-
Measuring startup and shutdown overhead of several code interpreters
Check out the official hyperfine Github repo
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
And then I used hyperfine to run the benchmarks on my MacBook Pro 14 M2 Max, and here are the results:
-
Faster tetranucleotide (k-mer) frequencies!
Search "benchmarking tools for linux" and decide that hyperfine is good for what I'm doing. Run Jennifer's new python script against my refactored perl and find that the python is 1.26 times faster for k=3 and 1.47 times faster for k=4. For the Covid-19 sequence, these are both on the order of hundreds of milliseconds.
- Hyperfine: A command-line benchmarking tool
- FLaNK Weekly 08 Jan 2024
-
Show HN: Inshellisense – IDE style shell autocomplete
> It is very possible to write sub 100ms procedures in TS, […]
I will not disagree with this statement because I don’t have a way to test inshellisense right now. Could you (or anyone with a working Node + NPM installation) please install inshellisense and post the actual numbers? Perhaps using a tool like hyperfine (https://github.com/sharkdp/hyperfine).
-
Firefox has surpassed Chrome on Speedometer
Yeah, while it's not as thorough as these tools, the method is at least reproducible and sane, and with ~10 or so samples, you get an interval with a nice confidence.
Another through method will be hyperfine[0], yet I wanted to provide a method which requires no installation and can be done in a whim, without jumps and hoops, with the tools already at hand.
[0]: https://github.com/sharkdp/hyperfine
-
How to optimize your config? What are mistakes to avoid when optimizing your config?
That is native and inbuild but I would suggest below options instead 1. Using lazy's Profile tab instead https://github.com/folke/lazy.nvim 2. Using a dedicated plugin to do this https://github.com/dstein64/vim-startuptime. 3. Using an external program hyperfine is one that I use https://github.com/sharkdp/hyperfine
-
How to remove all <br> from all of my .html files
Fair enough, although might I recommend using hyperfine for your testing? ;p
What are some alternatives?
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
criterion.rs - Statistics-driven benchmarking library for Rust
ustreamer - µStreamer - Lightweight and fast MJPEG-HTTP streamer
fd - A simple, fast and user-friendly alternative to 'find'
node-rtsp-stream - Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Streama - Self hosted streaming media server. https://docs.streama-project.com/
awesome-mac - Now we have become very big, Different from the original idea. Collect premium software in various categories.
PythonCall.jl - Python and Julia in harmony.
kubeconform - A FAST Kubernetes manifests validator, with support for Custom Resources!
numexpr - Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more
quinn - Async-friendly QUIC implementation in Rust