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.4.1.tar.gz (13.5 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.4.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for velocicode-0.4.1.tar.gz
Algorithm Hash digest
SHA256 08b9bbaa9883bf5d3d222982b44462f69167b71cbb72265e4b64bbc9dda6c919
MD5 9d302f7de933d33bb47d643318b420a7
BLAKE2b-256 029eb6774f7b59e5d803d635b35145f79047ff30e080a2e77f1a5fcee63bba19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: velocicode-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 160dc84a75a04753db984cef8eed795d35b1e8f18bfb2a687653c1c32fd935b9
MD5 24e1fe0ce54c5f0db9883954940f5ec5
BLAKE2b-256 dd473ec03aa491f9fa6939b8fe8985a9345eba0f498fa2db9459a0d805979775

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