Skip to content

PoC regarding the experimental determination of time complexities of algorithms written in TypeScript.

License

Notifications You must be signed in to change notification settings

guligon90/empirical-tc-ts

Repository files navigation

empirical-tc-ts

POC regarding the experimental determination of time complexities of algorithms written in TypeScript.

I wrote an article on Medium, that explains the motivation behind this implementation.

1. Getting started

In order to run this project, you must have already properly installed and configured the following dependencies:

2. Running the analysis

In order to evaluate the asymptotic analysis and generate the plots, run at the terminal:

yarn start

If you want to perform the same operation, but without generating transpiled javascript (development mode):

yarn dev

3. Quality assurance

3.1. Unit tests

With the project dependencies properly installed, the unit tests can be executed via terminal:

yarn test

Similarly, ro generate the coverage report, just run the command:

yarn coverage

3.2. Code linting

To format the code base to a preset pattern, just run:

yarn prettier

To generate the code linting report, but not apply the necessary fixes:

yarn lint

To generate the code linting report and apply the necessary fixes:

yarn lint:fix

About

PoC regarding the experimental determination of time complexities of algorithms written in TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published