Skip to content

Instantly share code, notes, and snippets.

View fi3ework's full-sized avatar
😮‍💨
recovering from burn out

fi3ework

😮‍💨
recovering from burn out
View GitHub Profile
@fi3ework
fi3ework / benchmark-for-c90b46e.md
Last active April 4, 2023 12:04
Benchmark for c90b46e

tldr;

The metrics of benchmarks executed in sequence within the same job in GitHub Action have too much fluctuation, making the metrics unreliable.

Detail

Here's the five benches run for vitejs/vite#12723. Runs agained the commit in PR (c90b46e) and the one (3f4d109) before it. As patak described

TypeScript 7 hrs 11 mins █████████▍░░░░░░░░░░░ 44.9%
JavaScript 3 hrs 29 mins ████▌░░░░░░░░░░░░░░░░ 21.9%
Rust 1 hr 39 mins ██▏░░░░░░░░░░░░░░░░░░ 10.3%
Python 55 mins █▏░░░░░░░░░░░░░░░░░░░ 5.8%
Markdown 48 mins █░░░░░░░░░░░░░░░░░░░░ 5.0%
@fi3ework
fi3ework / Mac OS X: Open in Visual Studio Code
Created March 18, 2019 06:57 — forked from tonysneed/Mac OS X: Open in Visual Studio Code
Add a command to Finder services in Mac OSX to open a folder in VS Code
- Open Automator
- File -> New -> Service
- Change "Service Receives" to "files or folders" in "Finder"
- Add a "Run Shell Script" action
- Change "Pass input" to "as arguments"
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*"
- Save it as something like "Open in Visual Studio Code"