Start » Filter Reference » System » Benchmarks » BenchmarkCPU
Module: | FoundationLite |
---|
Tests CPU performance for simple arithmetic operations.
Applications
Can be used if some functions of your application may be available only on high-performance computers.
Name | Type | Description | |
---|---|---|---|
inUseMultipleCores | Bool | Indicates if all cores of the CPU should be used | |
outScore | Double | Score is the time of filter execution in milliseconds. Smaller value for faster CPUs. |
Description
Filter performs a simple benchmark of the CPU by adding integer numbers together. All integer numbers from 0 (zero) to one hundred million (100000000) are being added without taking care of overflow. The sum of numbers is irrelevant and is lost, while the time of execution (in milliseconds) is returned.
This filter can be useful for purposes when some program parameters should be dependent on the performance of the CPU.
Complexity Level
This filter is available on Advanced Complexity Level.