arriven / db1000n

MIT License
1.17k stars 201 forks source link

Why is db1000n so slow... #533

Closed deputinizer closed 2 years ago

deputinizer commented 2 years ago

image

I'm pressing ctrl+C

deputinizer commented 2 years ago

And why is this metrics thing so retarded

[Spoiler] pprof CPU ![image](https://user-images.githubusercontent.com/100740281/167130812-e97730eb-3761-4950-84e6-1a126671b9eb.png)
deputinizer commented 2 years ago

Resolver can be optimized like in stoppropaganda https://github.com/erkexzcx/stoppropaganda/tree/main/internal/spdnsclient

[Spoiler] pprof CPU ![image](https://user-images.githubusercontent.com/100740281/167133142-6db8146b-2908-4e3e-b290-3a44c040d769.png)