https://github.com/ankush/test-orchestrator-rs
BlAziNglY FaSt test orchestrator written in Rust for Frappe parallel tests
https://github.com/ankush/test-orchestrator-rs
Last synced: 10 months ago
JSON representation
BlAziNglY FaSt test orchestrator written in Rust for Frappe parallel tests
- Host: GitHub
- URL: https://github.com/ankush/test-orchestrator-rs
- Owner: ankush
- Created: 2022-12-29T14:34:29.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-29T14:53:49.000Z (over 3 years ago)
- Last Synced: 2025-08-30T10:03:18.825Z (10 months ago)
- Language: Rust
- Homepage:
- Size: 13.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlAzInGlY fast test orchestrator
At Frappe we run a lot of tests on each PR, so we need to run them in parallel and we need to run them fast!
[@Suraj](https://github.com/surajshetty3416) created this brilliant [test orchestrator](https://github.com/frappe/test-orchestrator) in NodeJS, it just wasn't enough. It never felt enough, how can it be so simple? Also global shared state in NodeJS? That sounds like race condition bugs waiting to appear!
So I rewrote it in rust. Sure after looking at implementation you might say the mutex makes it practically synchronous but it still is blazingly fast because it's written in Rust. The numbers dont lie!
```
# Node js Version
λ time python test.py
All good
python test.py 2.18s user 0.44s system 109% cpu 2.491 total
# Rust Version
λ time python test.py
All good
python test.py 2.17s user 0.54s system 109% cpu 2.473 total
```
Ok now you might say it's only 0.01 seconds improvement but that's just because of slow test suite in python. Entire Frappe Framework needs to be rewritten in rust to truly benefit from this blazingly fast rewrite.
Disclaimer
Ofcourse this is a joke. I love rust btw.