Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 304 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 304 Bytes

Getting sum of numbers from 0 to 42953672940 and timing it using

  • 1 thread
  • or 20 go routines

20 go routines ends up being 7 times faster

a go routine is like a thread

Command to run

sudo docker-compose up --build

or if you have go, clone inside your ~/go/src directory

go build && ./concur