Sign in

Saurabh Misra

@misrasaurabh1.bsky.social
5 followers 4 following 19 posts

Wants to solve software performance

PostsRepliesMedia
Saurabh Misra @misrasaurabh1.bsky.social · 11/05/2025
LLMs also deserve fast RL! Nous Research launches Atropos - an LLM RL learning framework for collecting and evaluating trajectories. Codeflash optimizes a crucial part it by 17x speeding up LLM RL. Such a classic algorithmic optimization.
github.com
⚡️ Speed up function `grab_exact_from_heterogeneous_queue` by 1,680% by aseembits93 · Pull Request #7 · NousResearch/atropos
📄 1,680% (16.80x) speedup for grab_exact_from_heterogeneous_queue in atroposlib/api/utils.py ⏱️ Runtime : 13.3 milliseconds → 749 microseconds (best of 703 runs) 📝 Explanation and details...
000
Saurabh Misra @misrasaurabh1.bsky.social · 17/02/2025
The link to the PR - github.com/langflow-ai/langflow/pul…
github.com
refactor: ⚡️ Speed up function `find_last_node` by 29,891% by misrasaurabh1 · Pull Request #5261 · langflow-ai/langflow
📄 find_last_node in src/backend/base/langflow/graph/graph/utils.py ✨ Performance Summary: Speed Increase: 📈 29,891% (298.91x faster) Runtime Reduction: ⏱️ From 117 milliseconds down to 391…
000
Saurabh Misra @misrasaurabh1.bsky.social · 17/02/2025
Here's how Langflow, a leading AI-agent framework, achieved a 300× speedup in finding the last node in a graph. The optimization, automatically discovered by Codeflash, eliminated an unnecessary loop and removed duplicate comparisons, making this operation blazing fast.
100
Saurabh Misra @misrasaurabh1.bsky.social · 30/01/2025
We’ve all been there… I was so sure that I could write better code than what I saw on the screen. Four hours of work later, the code ran slower than it had that morning 😂
000
Saurabh Misra @misrasaurabh1.bsky.social · 30/01/2025
I found a cracked dev today with a github history like this. This dev setup a cron to auto-commit to update the timestamp on a file 88 times a day. Anyone looking to hire a 100x dev? 😆
000
Saurabh Misra @misrasaurabh1.bsky.social · 29/01/2025
Profilers help if you want to identify the most time-consuming parts of your codebase, but there isn’t a tool we can use to understand how much faster our *overall software* can get with the right tweaks. Does anyone know of a solution to this problem? Or will this always be manual?
010
Saurabh Misra @misrasaurabh1.bsky.social · 29/01/2025
1. I didn’t think enough. 2. I didn’t think this would be a problem 3. The way the software is used now is quite different from what I originally expected. When it comes to performance optimization, you only know you’ve got slow code when you find a better version that runs faster.
100
Saurabh Misra @misrasaurabh1.bsky.social · 29/01/2025
Ever heard someone say “I’ll know when I know”??? Turns out it applies to software development as well. After solving a performance bug, I always find myself wondering why I wrote such slow code in the first place. Usually, it’s because…
100
Saurabh Misra @misrasaurabh1.bsky.social · 28/01/2025
By aggregating these samples, PyInstrument identifies key “hot spots” where your code spends the most time, presenting the data through very intuitive visualizations like flame graphs.
000
Saurabh Misra @misrasaurabh1.bsky.social · 28/01/2025
My favorite tool for Profiling in Python - PyInstrument. PyInstrument is a powerful statistical profiler that periodically interrupts and samples the call stack during execution. Pyinstrument minimizing performance overhead and seamlessly integrates into complex projects.
100
Saurabh Misra @misrasaurabh1.bsky.social · 24/01/2025
Autonomous AI Agents for code optimization have arrived! Codeflash ranks as the 7th leading contributor to Pydantic over the past year, a library that sees 300 million downloads every month. The potential for efficiency is boundless in every project.
000
Saurabh Misra @misrasaurabh1.bsky.social · 14/12/2024
Shock me - what’s the most expensive workload you’ve run?
000
Saurabh Misra @misrasaurabh1.bsky.social · 14/12/2024
An engineer recently told me that his team spends 1.5 days and $6,000 on a single training run. When workloads take multiple days, performance optimization shifts from nice-to-have to mission-critical. This is exactly why we're building Codeflash—to eliminate these painful, time-consuming processes.
100
Saurabh Misra @misrasaurabh1.bsky.social · 11/12/2024
You can right-size your infrastructure and negotiate better rates but at the end of the day, reducing cloud costs requires having highly efficient underlying code. I’ve spoken to a many engineering leaders - after security, code efficiency is the #1 issue that keeps engineering teams up at night.
000
Saurabh Misra @misrasaurabh1.bsky.social · 10/12/2024
Exactly! These non functional requirements are hard to argue for by engineers. That's why I am building codeflash.ai which aims to automate performance optimization so that engineers can focus on shipping features, while AI ensures that it runs fast as well.
codeflash.ai
CodeFlash
000
Saurabh Misra @misrasaurabh1.bsky.social · 09/12/2024
I'm eager to hear from other engineers: How are you addressing performance challenges in your organizations? What strategies have you found effective in maintaining software efficiency without sacrificing development speed?
000
Saurabh Misra @misrasaurabh1.bsky.social · 09/12/2024
With Codeflash, I'm exploring a more proactive approach to performance engineering. The goal is to build performance consciousness into our development workflows, preventing technical debt before it becomes a systemic problem.
100
Saurabh Misra @misrasaurabh1.bsky.social · 09/12/2024
The pattern is frustratingly predictable: 1. Ship features quickly 2. Performance gradually degrades 3. Users complain or infrastructure costs spike 4. Briefly optimize performance 5. Repeat the cycle Performance ideally should be a first-class citizen in our dev process, not an afterthought.
100
Saurabh Misra @misrasaurabh1.bsky.social · 09/12/2024
After numerous recent conversations with engineering leaders, it's clearer than ever to me that when it comes to software development, we're caught in a reactive app performance management cycle. Teams prioritize rapid feature shipping, inadvertently accumulating performance debt with each release.
221