Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.03 KB

readme.md

File metadata and controls

34 lines (23 loc) · 1.03 KB

CPU

The CPU challenge measures how much time it takes to calculate all the prime numbers under XXXX wihtout blocking the UI and reporting how many have been found so far.

Pre-requirements

The tests for this are under the folder cpu.

After clonning the repo make sure to install:

  1. Latest version of node
  2. Visual Studio 2019

Electron

To run the Electron tests:

  1. Open a terminal into cpu\electron\.
  2. Run npm install to install all dependencies
  3. Run npm run makemake to create the packaged version of the application
  4. Run out\electron-win32-x64\electron.exe
  5. Press the "start" button
  6. Once the challenge is finished, the average should appear on the screen

WPF

To run the WPF tests:

  1. Open the solution cput\wpf\wpf.sln
  2. Build the solution in Release mode
  3. Close Visual Studio
  4. Run cpu\wpf\bin\Release\netcoreapp3.1\wpf.exe
  5. Press the "start" button
  6. Once the challenge is finished, the average should appear on the screen