fangwentong

Results 6 issues of fangwentong

use a random temp file name to store upload files, which prevent collisions in concurrent upload scenarios.

`scanner.Map`方法通过反射获取key name,开销较大,这里通过缓存结构体的key name解析结果来提升性能。 具体表现如下,通过使用缓存可以将`scanner.Map`接口的吞吐提升1-2倍。 ``` $ go test -run=BenchmarkMap -bench=BenchmarkMap -cpu=1,2,4,8 -benchtime=20000000x -benchmem goos: darwin goarch: amd64 pkg: github.com/didi/gendry/scanner cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz BenchmarkMapWithCache 20000000 265.4 ns/op...

go1.16 cannot recognize the loong64 instruction set architecture, and an error will occur during compilation. This MR explicitly specifies the instruction set build constraints in the source file. When running...

## Fix duplicate hooks execution with MySQL driver when InterpolateParams=false ### Problem When the MySQL driver is configured with `InterpolateParams=false` (default value), it returns `driver.ErrSkip` which causes the SQL package...

**Description** The `refreshMajorServerVersion` method in `HTTPTransport` currently constructs an incorrect URL when fetching APM Server version information. The implementation ignores any path prefix configured in the APM Server URL, resulting...

agent-go