Saturday, November 10, 2018

Lab 5

In this  lab we ran through a few algorithms for volume adjustment.
We used a sample size of 100 million for the tests.

In our first test we ran the multiplied the samples by  0.5

In the second test we precalculated the samples before modifying the volume.

Lastly in the third test we multiplied the samples with an int and then bit shifted the samples to the appropriate values.

For the results:

Test 1: This seemed to have run at a middle speed being processor heavy with calculations
Test 2: This test ran the slowest as it took more cache and memory to process the large amount of samples
Test 3: Lastly this test ran the fastest. It was processor heavy but bit shifting seemed to save it some time.

No comments:

Post a Comment