Skip to content

SoutrikBandyopadhyay/randomquote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randomquote

This is a binary application that generates a random quote from a corpus of JSON data provided herein. The application can be used along with Conky desktop manager to dynamically generate quotes.

Usage

$ cargo build --release
$ cp /target/release/randomquote .
$ ./randomquote

Benchmarking

The benchmarking was done with hyperfine to compare against a Python3 implementation

hyperfine --runs 100 './randomquote' 'python3 quotes.py'

The repository author obtained a ~7.2 times speedup against python implementation

About

A blazingly fast random quote generator written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published