Skip to content

greg-source/factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

factorial

Repository overview

This directory contains main.go file, which contains the main function that serves as the starting point of the application.

Package pkg provides a concurrent and sequential methods for calculating the factorial of a given number.

It initializes the http server, configures routes, and starts the server.

Tests

Tests are performed on 12-CPU machine.

Factorial of Sequential execution Concurrent execution
10000 10.6412ms 3ms
100000 1.2393814s 100ms
1000000 157s 6s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages