Runtime Counter - Run Code with Execution Time in VS Code
Runtime Counter is a lightweight, developer-friendly Visual Studio Code extension that lets you run source code and instantly see its execution time directly in the terminal. It uses the native Windows CMD terminal, ensuring accurate timing without opening browsers or external tools.
Live Link
🚀 Why Runtime Counter?
- ⏱ Precise execution time measurement
- 🖥️ Runs in native CMD terminal (no browser, no hacks)
- 🎨 Color-coded output (grey label, green timing)
- ⚡ One-click run from VS Code
- 🧩 Zero configuration – works out of the box
- 🪶 Lightweight & fast
Perfect for learning, benchmarking, debugging, and performance testing.
📸 Preview
🧠 Supported Languages
- ✅ JavaScript (
.js)
- ✅ Python (
.py)
- ✅ C (
.c)
- ✅ C++ (
.cpp)
More languages coming soon 🚧
▶️ How It Works
- Open any supported source file in VS Code
- Run Runtime Counter: Run with Time
- The code executes in CMD terminal
- Execution time is printed cleanly at the end
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Execution time: 1.780 s
🎨 Terminal Output Styling
- Execution label → grey
- Execution time value → green
This makes timing results instantly readable while keeping output clean.
⚙️ Requirements
- Windows 10 or later
- Node.js (for JavaScript execution)
- Python installed (for
.py files)
- GCC / G++ installed (for C / C++)
📂 Project Assets
The extension includes multiple favicon sizes for marketplace compatibility:
favicon16.png
favicon32.png
favicon48.png
favicon64.png
favicon96.png
favicon128.png
favicon180.png
favicon192.png
favicon256.png
favicon512.png
favicon1000.png
And a live preview demo:
🔍 SEO Keywords
runtime counter vscode extension, execution time vscode, run code with time, vscode performance tool, vscode cmd runner, code execution timer, vscode benchmark extension, runtime measurement vscode
🛠️ Roadmap
- ⏳ Status bar execution timer
- 🔴 Conditional colors (slow = red, fast = green)
- 🧪 Per-file benchmarking history
- 🐧 Linux & macOS support
- ⚙️ Custom command mapping
👤 Author
Thinakaran Manokaran
🌐 https://thinakaran.dev/
⭐ Support
If you find this extension useful:
- ⭐ Star the repository
- 🐞 Report issues
- 💡 Suggest features
Your support helps improve the project 🚀
📄 License
MIT License – free to use, modify, and distribute.
Happy coding & benchmarking! 💚