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.3.0.tar.gz (11.2 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.3.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: velocicode-0.3.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for velocicode-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a0a8fabb7cd8e2af1bcd0adac65979c6ca4119b3b8e4c02c7b597d36180d2cde
MD5 aaf295f7939f2540d5701fa65011c0e5
BLAKE2b-256 fe28ac89bf0e3dd6600101f25ff660b39b971914554f197912b95ba9353fbd4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: velocicode-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for velocicode-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 707fbb59b0266bc3dc96514d256020372d6c31d8f8f3fee5ab140b63d01dc53d
MD5 e525837c7c6148fe5e308debd6347025
BLAKE2b-256 41806ac918b9e366b9909fd4f1b3afe8c549b9aafd7d14cf12f56a258a8571fc

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