perspective
magic-trace
Our great sponsors
perspective | magic-trace | |
---|---|---|
45 | 29 | |
7,535 | 4,439 | |
4.4% | 1.1% | |
9.3 | 6.8 | |
8 days ago | 3 days ago | |
C++ | OCaml | |
Apache License 2.0 | MIT License |
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.
perspective
- Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
-
The Design Philosophy of Great Tables (Software Package)
Why do you want to render to canvas?
Perspective seems to be the most performant html table. It is more focused on extremely fast updates than styling, although it looks good.
Glide is a newcomer that also renders to canvas.
https://github.com/finos/perspective
https://github.com/glideapps/glide-data-grid
-
Show HN: WhatTheDuck – open-source, in-browser SQL on CSV files
SQL workbench also uses https://perspective.finos.org/ for tables. It's a WASM table library which pairs nicely with duckdb and works well with large tables.
-
React Spreadsheet 2 – Your Own Google Sheets
Yes. We are working on adding support for aggregation and pivoting using https://github.com/finos/perspective
-
Show HN: DataSheetGrid, an Airtable-like React component
I haven't looked extensively at react-datasheet. It looks like it is trying to build more of a full product than the other data tables.
I have used ag-grid extensively, its an impressive product. Some pieces are a little awkward to use, particularly auto-sizing. But generally ag-grid has thought of most functionality and has a solution. The creator of ag-grid had a great interview on Javascript Jabber [1].
The other serious data table component that I have seen is FinOS Perspective [2]. This is extremely high performance, also more specialized and probably harder to customize. I think Perspective renders to a canvas element from Rust/C++ compiled to WASM (not 100% sure). It is also made for streaming updates.
AG-Grid supports streaming updates... but only in the commercial version.
Eventually the data model for these types of tables becomes tricky. I will be investigating parquet-wasm for my use case. Hit me up if you want to collaborate.
[1] https://blog.ag-grid.com/javascript-jabber-podcast/
[2] https://perspective.finos.org/
- Perspective Market Simulation
-
ChDB: Embedded OLAP SQL Engine Powered by ClickHouse
Something like https://github.com/finos/perspective ? We use an OLAP(-y) WASM engine to provide query-ability to our data visualization tool, and doing the calculations in the browser is cheaper and simpler than a server-side database for datasets that fit in browser memory.
- Show HN: Udsv.js – A faster CSV parser in 5KB (min)
- Perspective 2.0, Open Source WebAssembly-Powered BI
magic-trace
-
When Optimising Code, Measure
I really like magic-trace [0].
https://github.com/janestreet/magic-trace
Not that the exact tracing relies on Intel PT - support for AMD was added recently but uses perf so suffers from the same sampling/skew issues, but is still very useful.
-
Grafana Phlare, open source database for continuous profiling at scale
Would love to see this integrate with magic trace [1]. I'll need to look at the code for the flamegraph plugin, because handling nanosecond timestamps in flamegraphs seems to break most tools due to float precision.
(1) https://github.com/janestreet/magic-trace
-
How to break into Hudson River Trading?
As for inner workings, have you looked into magic trace? I want to play around with it but last I checked, it doesn't work on macs.
-
Brendan Intel.com
I really hope he can work with cloud vendors and Intel to make Processor Trace a more popular and easier to use capability.
It's unfortunate how https://github.com/janestreet/magic-trace and PMUs in general can't be used by lots of people using cloud VMs.
- GitHub - janestreet/magic-trace: magic-trace collects and displays high-resolution traces of what a process is doing
-
Hacker News top posts: Apr 23, 2022
Magic-trace – High-resolution traces of what a process is doing\ (133 comments)
- Magic-trace – High-resolution traces of what a process is doing
- Magic-trace - 高分辨率跟踪一个进程正在做什么 (Magic-trace – High-resolution traces of what a process is doing)
What are some alternatives?
ag-Grid - The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript.
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
arquero - Query processing and transformation of array-backed data tables.
perfetto - Frontend for magic-trace; forks https://ui.perfetto.dev
datapane - Build and share data reports in 100% Python
linux - Linux kernel source tree
nocodb - 🔥 🔥 🔥 Open Source Airtable Alternative
scalene - Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals
ClickHouse - ClickHouse® is a free analytics DBMS for big data
memray - Memray is a memory profiler for Python
SandDance - Visually explore, understand, and present your data.
tracy - Frame profiler