The code being benchmarked is in this Github repo:
https://github.com/kidoman/fibrous
We run:
boom -n 100000 -c 100 http://localhost:3000/users/1
package main | |
import ( | |
"github.com/gorilla/mux" | |
rpio "github.com/stianeikeland/go-rpio" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" | |
"time" |
package main | |
const accuracy = 0.00001 | |
func multiplier(i int, angle, num, den float64) (float64, float64) { | |
num *= angle * angle | |
den *= float64(i * (i - 1)) | |
return num, den | |
} |
The code being benchmarked is in this Github repo:
https://github.com/kidoman/fibrous
We run:
boom -n 100000 -c 100 http://localhost:3000/users/1
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) |
package web | |
import ( | |
"io" | |
"net" | |
"net/http" | |
"appengine" | |
"appengine/socket" | |
) |
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"io/ioutil" | |
"net" | |
"net/http" | |
"appengine" |