Skip to content

Mononofu/voting-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Voting Simulator

A voting simulator based on Ka-Ping Yee's blog post about election methods.

You can try the live version on my blog: Interactive Voting System Simulator

Development

./dev.sh

Testing

cargo test --release

Benchmarking

First, build with

cargo bench

Note the name of the target (Running target/release/deps/vote-0f74bdcec4246b04), and run in under perf:

sudo perf record --call-graph=dwarf \
    target/release/deps/vote-0f74bdcec4246b04 --bench --profile-time 10

Then view the report with:

sudo perf report --hierarchy -M intel

You can navigate with the cursor keys and enter to move into a function, and press a to get an annotated disassembly interleaved with source code of the selected function.

For more details, see the Rust SIMD Performance Guide.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published