Skip to content

Commit

Permalink
Merge pull request #761 from Fenny/master
Browse files Browse the repository at this point in the history
✨ update startup message
  • Loading branch information
Fenny authored Sep 11, 2020
2 parents 29e8f12 + 67ae8e7 commit 755b75f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
)

// Version of current package
const Version = "1.14.5-pre"
const Version = "1.14.6"

// Map is a shortcut for map[string]interface{}, useful for JSON returns
type Map map[string]interface{}
Expand Down Expand Up @@ -663,7 +663,7 @@ func (app *App) startupMessage(addr string, tls bool, pids string) {
logo += `%s_____%s / /_ / / __ \/ _ \/ ___/ %s` + "\n"
logo += `%s __%s / __/ / / /_/ / __/ / %s` + "\n"
logo += `%s /_/ /_/_.___/\___/_/%s %s` + ""
logo += cRed + "v1.15.0 will be released on 15 September 2020 and contains breaking changes!\nPlease visit https://github.com/gofiber/fiber/issues/736 for more information.\n" + cReset
logo += cRed + "v2 will be released on 15 September 2020!\nPlease visit https://gofiber.io/v2 for more information.\n" + cReset
host, port := parseAddr(addr)
padding := strconv.Itoa(len(host))
if len(host) <= 4 {
Expand Down

3 comments on commit 755b75f

@Fenny
Copy link
Member Author

@Fenny Fenny commented on 755b75f Sep 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 755b75f Previous: f296200 Ratio
Benchmark_Ctx_BodyParser_JSON 822 ns/op 208 B/op 4 allocs/op 213 ns/op 4 B/op 1 allocs/op 3.86
Benchmark_Ctx_Send 299 ns/op 64 B/op 4 allocs/op 7.35 ns/op 0 B/op 0 allocs/op 40.68
Benchmark_Ctx_Write 376 ns/op 267 B/op 4 allocs/op 61.9 ns/op 74 B/op 0 allocs/op 6.07
Benchmark_Route_Match 82.7 ns/op 0 B/op 0 allocs/op 34.3 ns/op 0 B/op 0 allocs/op 2.41
Benchmark_Route_Match_Star 21.3 ns/op 0 B/op 0 allocs/op 5.3 ns/op 0 B/op 0 allocs/op 4.02

This comment was automatically generated by workflow using github-action-benchmark.

@Fenny
Copy link
Member Author

@Fenny Fenny commented on 755b75f Sep 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 755b75f Previous: f296200 Ratio
Benchmark_Ctx_BodyParser_JSON 752 ns/op 208 B/op 4 allocs/op 213 ns/op 4 B/op 1 allocs/op 3.53
Benchmark_Ctx_Send 277 ns/op 64 B/op 4 allocs/op 7.35 ns/op 0 B/op 0 allocs/op 37.69
Benchmark_Ctx_Write 354 ns/op 265 B/op 4 allocs/op 61.9 ns/op 74 B/op 0 allocs/op 5.72
Benchmark_Route_Match 75.3 ns/op 0 B/op 0 allocs/op 34.3 ns/op 0 B/op 0 allocs/op 2.20
Benchmark_Route_Match_Star 19.4 ns/op 0 B/op 0 allocs/op 5.3 ns/op 0 B/op 0 allocs/op 3.66

This comment was automatically generated by workflow using github-action-benchmark.

@Fenny
Copy link
Member Author

@Fenny Fenny commented on 755b75f Sep 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 755b75f Previous: 5181641 Ratio
Benchmark_Ctx_BodyParser_JSON 778 ns/op 208 B/op 4 allocs/op 231 ns/op 4 B/op 1 allocs/op 3.37
Benchmark_Ctx_Send 271 ns/op 64 B/op 4 allocs/op 8.19 ns/op 0 B/op 0 allocs/op 33.09
Benchmark_Ctx_Write 288 ns/op 266 B/op 4 allocs/op 58.4 ns/op 73 B/op 0 allocs/op 4.93
Benchmark_Route_Match_Star 19.9 ns/op 0 B/op 0 allocs/op 5.59 ns/op 0 B/op 0 allocs/op 3.56

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.