A GO web application profiler.
Switch branches/tags
Clone or download
Cheikh Seck Cheikh Seck
Cheikh Seck and Cheikh Seck windows: wait for server launch
Latest commit a62924b Apr 6, 2018

readme.md

Cleo

A web application used to analyze other web applications written in Go. It generates LARs (long-ass reports) of tests performed.

Updates :

  • Inspect CPU times.
  • Test applications built and deployed at external locations. This application must have pprof handlers available.

Requirements

  1. Go lang
  2. go-work : install with go get github.com/adjust/go-wrk
  3. $GOPATH set. Guide here. On windows install go with Choco to skip this step.

Install

Install with :

	$ go get github.com/cheikhshift/cleo

Launch

Run the following command to launch application :

	$ cleo

Go project setup

Your Go web application should retrieve the port number to listen on from env. variable $PORT.

Example

...
port := ":defaultport"
if envport := os.ExpandEnv("$PORT"); envport != "" {
	port = fmt.Sprintf(":%s", envport)
}
...
log.Fatal(http.ListenAndServe(port, nil) )

Projects used

  1. Twitter bootstrap beta 4.0.0-beta.2
  2. Angular JS 1.5.6
  3. Momentum
  4. GopherSauce
  5. Chart.js

Screenshots

enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here