Skip to content

Module that predicts unbiased branches implemented with Angular 2 and PrimeFaces. The branch is also implemented with Electron.

License

Notifications You must be signed in to change notification settings

razvantomegea/branch-prediction-simulator

Repository files navigation

Unbiased branch prediction simulator

Module that detects difficult to predict (unbiased) branches implemented with Angular 2.

Prerequisites

Both the CLI and generated project have dependencies that require Node 4 or higher, together with NPM 3 or higher. Download it from https://nodejs.org/en/download/

Getting started

Make sure you have the latest versions of node and npm If you have installed angular-cli

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

Clone the repository, install the dependencies, and run the server

git clone https://github.com/razvantomegea/branch-prediction-simulator.git
cd branch-prediction-simulator
npm install
ng serve

Development server

After running ng serve, navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate component/directive/pipe/service/class/enum/interface.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

About

Module that predicts unbiased branches implemented with Angular 2 and PrimeFaces. The branch is also implemented with Electron.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published