Skip to content

Commit

Permalink
core: implemented alloc endpoint.
Browse files Browse the repository at this point in the history
The alloc endpoint benchmarks the RAM by allocating X megabytes of RAM for Y seconds.
  • Loading branch information
aeneasr committed Feb 28, 2016
1 parent e2b3217 commit 8c38e2e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ func terms(k float64) float64 {
return 4 * math.Pow(-1, k) / (2*k + 1)
}


// pi launches n goroutines to compute an
// approximation of pi.
func pi(n int) float64 {
Expand Down

0 comments on commit 8c38e2e

Please sign in to comment.