cg31

Results 22 comments of cg31

It could be a Windows specific issue, maybe in rust compiler or in libraries, if we can get a good performance on Linux as well.

I just tried rust and go version on my Linux box, it is a ThinkStation with 56 cores with Ubuntu 18.04. Rust version uses plain method, and go version uses...

When I test the proxy sample: https://github.com/tokio-rs/tokio/blob/master/examples/proxy.rs in these steps: ./proxy 127.0.0.1:1090 127.0.0.1:5201 & iperf -s -p 5201 & iperf -c 127.0.0.1 -p 1090 -n 10G I got: [ 3]...

I created a repo with go and rust tests to benchmark the relay speeds https://github.com/cg31/PerfectRelay

I tried to use std::net to relay the data, it looks just faster: https://github.com/cg31/PerfectRelay/tree/master/rust_std

async-std is faster than tokio, but still a lot slower than std: https://github.com/cg31/PerfectRelay/tree/master/rust_async_std On Windows 10, i7 machine: tokio: [264] 0.0-78.5 sec 10.0 GBytes 1.09 Gbits/sec async-std: [268] 0.0-29.9 sec...

A BufReader and also a BufWriter did the trick. without BufReader and BufWriter https://github.com/cg31/PerfectRelay/tree/master/rust_tokio [384] 0.0-101.1 sec 10.0 GBytes 850 Mbits/sec only using BufReader [384] 0.0-93.3 sec 10.0 GBytes 921...

I wonder if it is possible to not use authorization at all for personal usage case. In such case, any machine on wireguard is authorized by wg. Then it works...

One workaround is just to hide the toolbar, it is the parent of the feedback button: ``` if (FeedbackPanel == null) { var feedbackButton = Application.Current.MainWindow.FindElement("FrameControlContainerBorder"); FeedbackPanel = feedbackButton.Parent as...

中国结算中心有个xls,读到100多行时也出现乱码: http://www.chinaclear.cn/cms-rank/downloadFile?queryDate=2018.09.03&type=proportion