Skip to main content

A CLI tool for programming language speed benchmarks

Project description

Velocicode

A command-line interface tool to benchmark the execution speed of various programming languages (Python, C++, Rust, Go, JavaScript) on standard algorithms.

Installation

pip install velocicode

Platform Support

  • Linux: Fully supported.
  • macOS: Fully supported (requires Xcode Command Line Tools for compilers).
  • Windows: Supported via WSL2 (Windows Subsystem for Linux). Native Windows support is currently experimental.

Usage

Run the interactive mode:

velocicode

Or use command line arguments:

# Run all
velocicode run

# Filter by algorithm
velocicode run --filter-algo matrix_mul

# Filter by language
velocicode run --filter-lang python,cpp

Supported Benchmarks

  • Fibonacci
  • Matrix Multiplication
  • Quick Sort

Requirements

[!IMPORTANT] This tool requires external compilers to be installed on your system. pip will not install these for you.

  • Python 3.7+
  • System Compilers:
    • python3 (for Python)
    • g++ (for C++)
    • rustc (for Rust)
    • go (for Go)
    • node (for JavaScript)

Run velocicode check to see which compilers are missing on your system. The tool will simply skip languages that are not installed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

velocicode-0.1.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

velocicode-0.1.0-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file velocicode-0.1.0.tar.gz.

File metadata

  • Download URL: velocicode-0.1.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for velocicode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f82a0857e66a8b2e9f2f4aa86f87a63771adab36f56d500e5241a2499944917a
MD5 09c257c1eca1cd0b88c8b34b2c0ddf56
BLAKE2b-256 f3e63c4e7c62533969c8832365c180307656f665856bc546c60f9bd835a99557

See more details on using hashes here.

File details

Details for the file velocicode-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: velocicode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for velocicode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77dc2ffe95935b6d3b01bfa96f57ceb26b85add5f79e1d719348835ec93802bd
MD5 d10610ca7a017bc4df23ef4d575eb074
BLAKE2b-256 27380cfbe11b17d36c7e5394bff2cc1d6f65486bf1e04b9d511c517e0079bc3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page