Skip to content

HyperCodec/lua-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-benchmark

This is a small CLI tool I put together in a few minutes to help visualize Big O time complexity for various algorithms. It benchmarks the code at various N values and exports them to a CSV file, which you can then graph with external software.

Installation

Clone the repo and cargo install --path . in the cloned directory, or do cargo install --git https://github.com/HyperCodec/lua-benchmark.

Features

You can configure the type of lua being used by changing the feature of the mlua dependency to something else (i.e. luajit) in the Cargo.toml of the cloned files.

Usage

benchmark --help

Examples

linear quadratic fibonacci binarySearch

About

simple CLI tool to help visualize time complexity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published