This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9c4bc84cc73f612182bd831c23fbd375c9db36a8 Mon Sep 17 00:00:00 2001 | |
From: Florian Lehner <[email protected]> | |
Date: Tue, 7 Oct 2025 09:28:45 +0200 | |
Subject: [PATCH] createNewRequest | |
Signed-off-by: Florian Lehner <[email protected]> | |
--- | |
config/confighttp/compression.go | 26 +++++++++++++++----------- | |
1 file changed, 15 insertions(+), 11 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os/exec" | |
"syscall" | |
) | |
func main() { | |
path, err := exec.LookPath("python3.13") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 39729efd92ad61b13d6b4db1b49f1eb521e5b7ed Mon Sep 17 00:00:00 2001 | |
From: Florian Lehner <[email protected]> | |
Date: Fri, 26 Sep 2025 11:47:49 +0200 | |
Subject: [PATCH] benchmark-confighttp-syncPool | |
Signed-off-by: Florian Lehner <[email protected]> | |
--- | |
config/confighttp/compression_test.go | 181 ++++++++++++++++++++++++++ | |
1 file changed, 181 insertions(+) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -c " | |
import struct | |
import sys | |
def parse_partition_table(filename): | |
with open(filename, 'rb') as f: | |
data = f.read() | |
partitions = [] | |
offset = 0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 461be79cb4e3275b54727fff506799c063ae13ed Mon Sep 17 00:00:00 2001 | |
From: Florian Lehner <[email protected]> | |
Date: Wed, 11 Jun 2025 21:29:53 +0200 | |
Subject: [PATCH] Support new flight recorder format | |
Signed-off-by: Florian Lehner <[email protected]> | |
--- | |
cmd/gotraceui/goroutine.go | 4 ++-- | |
cmd/gotraceui/span.go | 5 ++--- | |
go.mod | 4 ++-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ benchstat old.txt new.txt | |
goos: linux | |
goarch: amd64 | |
pkg: go.opentelemetry.io/ebpf-profiler/interpreter/go | |
cpu: 12th Gen Intel(R) Core(TM) i7-12700H | |
│ old.txt │ new.txt │ | |
│ sec/op │ sec/op vs base │ | |
Golang-20 6.352m ± 1% 4.877m ± 7% -23.23% (p=0.000 n=10) | |
│ old.txt │ new.txt │ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: all | |
all: | |
gcc -o bottleneck main.c -pthread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package modulo | |
func fastModulo(x, n uint32) uint32 { | |
return uint32((uint64(x) * uint64(n)) >> 32) | |
} | |
func regularModulo(x, n uint32) uint32 { | |
return x % n | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"github.com/florianl/go-tc" | |
"github.com/florianl/go-tc/core" | |
"github.com/jsimonetti/rtnetlink" |
NewerOlder