RSSAmplifier

galvanist · May 31, 2013

Benchmarking Python Algorithms

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

I’m trying to figure out a fast way to compare the speed of different implementations of a single python algorithm. One option is the timeit module . 
 I’m not sure the best way to setup these comparisons, so I made a function for each implementation: divceil1 … divceil6 . Then, I made a function to run each and check its output: test1 … test6 . Finally, I’m…

Read on /posts/2013-05-31-benchmarking-python-algorithms/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.