Skip to content

Instantly share code, notes, and snippets.

View bwplotka's full-sized avatar
💪
Coding.. Building.. Deploying!

Bartlomiej Plotka bwplotka

💪
Coding.. Building.. Deploying!
View GitHub Profile
@bwplotka
bwplotka / defer_benchmark.go
Last active February 20, 2020 11:53
Showcase of Go "1.14beta1" vs "1.13.1" `defer` performance improvement.
package main
import (
"testing"
)
var sink1 = 0
func BenchmarkNotDefered(b *testing.B) {
for n := 0; n < b.N; n++ {
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active July 24, 2024 07:10
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@druminski
druminski / Readme.md
Last active July 4, 2022 01:11
BigCache service example with external benchmarks

Cache service example. It uses fasthttp as an http server and bigcache as the cache.

External benchmarks are provided.

Running cache service

go run main.go

Server listens on 8080 port.