6
votes
1answer
262 views

Is this the proper way of doing timing analysis of many test cases in Python or not

Chat room for discussing this question. I am learning about timing analysis in Python. I used time module before it was pointed out that timeit module would be better for timing analysis. My main ...
2
votes
2answers
382 views

Please Review my Generic Linked List Implementation in Java

I am looking for feedback on my Doubly Linked List implementation that I have written in Java. I am looking for specific feedback on the efficiency of my code, as well as my usage of generics. I am ...
2
votes
1answer
983 views

How to accurately test the performance of functions

After asking the this question, I decided to write a test and determine what's the fastest way to wrap an index (where my maxSize is always a power of 2). There are 3 functions that I'm comparing: // ...
1
vote
1answer
70 views

Creating many random test database entries (updated with stored procedure)

Working on a simple time sheet webapp, I have created the following query (simplified - I actually have several mapped columns of a similar type to project_id) to generate test data: INSERT INTO ...