Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Python: You will develop four benchmarks. The details of the benchmarks are as follows: 32-bit Integer operation benchmark (reference time: 100 seconds) o -

In Python:

You will develop four benchmarks. The details of the benchmarks are as follows:

32-bit Integer operation benchmark (reference time: 100 seconds) o

- 1010 additions (of integer constants) - 5109 multiplication (of integer constants) - 2109 division (of integer constants)

64-bit Floating point operation benchmark (reference time: 100 seconds) - Same as integer, use double precision floating-point numbers instead of integer.

Memory benchmark (reference time: 100 seconds) - Read from 5 109 different array elements, 4 bytes each time o Write to 5 109 different array elements, 4 bytes each time

Hard drive benchmark 1 (reference time: 250 seconds)

- Read a whole file of 109 bytes, 100 bytes each time

- Write 109 bytes to a file, 100 bytes each time

Hard drive benchmark 2 (reference time: 10 seconds) - Read a whole file of 109 bytes, 10000 bytes each time

- Write 109 bytes to a file, 10000 bytes each time

Each benchmark will output the total execution time of the benchmark. Note that the benchmark must NOT do any operations other than what is specified above. The output should be done only once at the end of the program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions