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
goos: linux | |
goarch: amd64 | |
pkg: github.com/grafana/mimir/pkg/distributor | |
cpu: AMD Ryzen 9 3950X 16-Core Processor | |
│ main-otlphandler.txt │ optimize-otlp-otlphandler.txt │ | |
│ sec/op │ sec/op vs base │ | |
OTLPHandler/protobuf-32 866.0µ ± 2% 770.4µ ± 2% -11.04% (p=0.002 n=6) | |
OTLPHandler/JSON-32 1.275m ± 1% 1.183m ± 1% -7.21% (p=0.002 n=6) | |
geomean 1.051m 954.6µ -9.15% |
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
goos: darwin | |
goarch: arm64 | |
pkg: github.com/grafana/mimir/pkg/distributor | |
│ main-otlphandler-6.txt │ upgradeprometheus-otlphandler-6.txt │ | |
│ sec/op │ sec/op vs base │ | |
OTLPHandler/protobuf-12 406.0µ ± 1% 343.2µ ± 2% -15.47% (p=0.002 n=6) | |
OTLPHandler/JSON-12 572.2µ ± 1% 509.3µ ± 0% -11.00% (p=0.002 n=6) | |
geomean 482.0µ 418.1µ -13.26% | |
│ main-otlphandler-6.txt │ upgradeprometheus-otlphandler-6.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
goos: linux | |
goarch: amd64 | |
pkg: github.com/prometheus/prometheus/tsdb | |
cpu: Intel(R) Xeon(R) Platinum 8280 CPU @ 2.70GHz | |
│ main-postingsformatchers-6.txt │ cockroachdb-postingsformatchers-6.txt │ | |
│ sec/op │ sec/op vs base │ | |
Querier/Head/PostingsForMatchers/n="1"-48 466.9n ± 1% 471.4n ± 1% ~ (p=0.255 n=6) | |
Querier/Head/PostingsForMatchers/n="X"-48 460.9n ± 2% 452.1n ± 1% -1.93% (p=0.004 n=6) | |
Querier/Head/PostingsForMatchers/n="1",j="foo"-48 734.5n ± 2% 752.5n ± 1% +2.45% (p=0.002 n=6) | |
Querier/Head/PostingsForMatchers/n="X",j="foo"-48 522.5n ± 7% 508.7n ± 2% ~ (p=0.058 n=6) |
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
goos: linux | |
goarch: amd64 | |
pkg: github.com/prometheus/prometheus/tsdb | |
cpu: Intel(R) Xeon(R) Platinum 8280 CPU @ 2.70GHz | |
│ main-head-postings-for-matchers-6.txt │ postings-for-matcher-head-postings-for-matchers-6.txt │ | |
│ sec/op │ sec/op vs base │ | |
Querier/Head/PostingsForMatchers/n="1"-48 456.4n ± 3% 497.8n ± 4% +9.07% (p=0.002 n=6) | |
Querier/Head/PostingsForMatchers/n="X"-48 450.4n ± 3% 466.7n ± 4% ~ (p=0.065 n=6) | |
Querier/Head/PostingsForMatchers/n="1",j="foo"-48 715.4n ± 3% 733.1n ± 5% ~ (p=0.240 n=6) | |
Querier/Head/PostingsForMatchers/n="X",j="foo"-48 |
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 ( | |
"net" | |
"os" | |
"fmt" | |
) | |
func main() { | |
hostname := os.Args[1] |
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
➜ grpc-rs-example cargo build | |
Compiling grpcio-example v0.1.0 (/Users/arve/Projects/grpc-rs-example) | |
error: linking with `cc` failed: exit code: 1 | |
| | |
= note: "cc" "-m64" "-L" "/Users/arve/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_client-2b9425d9001a817b.1313whvj9zcvx4ja.rcgu.o" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_client-2b9425d9001a817b.136zim9i9qbkirm4.rcgu.o" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_client-2b9425d9001a817b.19qxtbcn3mfe00mo.rcgu.o" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_client-2b9425d9001a817b.1ba4tid76b5tiqao.rcgu.o" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_client-2b9425d9001a817b.1hldvv6joir3zphg.rcgu.o" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_client-2b9425d9001a817b.1hol1yswcbfxjneb.rcgu.o" "/Users/arve/Projects/grpc-rs-example/target/debug/deps/greeter_clie |
We can't make this file beautiful and searchable because it's too large.
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
2019-01-02 22:26:57.900 UTC,,,82,,5c2d3ab1.52,1,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"" | |
2019-01-02 22:26:57.907 UTC,,,85,,5c2d3ab1.55,1,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system was interrupted; last known up at 2019-01-02 22:26:54 UTC",,,,,,,,,"" | |
2019-01-02 22:26:57.976 UTC,,,85,,5c2d3ab1.55,2,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,"" | |
2019-01-02 22:26:57.984 UTC,,,85,,5c2d3ab1.55,3,,2019-01-02 22:26:57 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,"" | |
2019-01-02 22:26:57.987 UTC,,,85,,5c2d3ab1.55,4,,2019-01-02 22:26:57 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/130000F8",,,,,,,,,"" | |
2019-01-02 22:26:57.988 UTC,,,82,,5c2d3ab1.52,2,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,"" | |
2019-01-02 22:26:58.017 UTC,,,90,,5c2d3ab1.5a,1,,2019-01-02 22:26:57 UTC,,0,FATAL,XX000,"could not connect to t |
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
decompressing spilo image... | |
2019-01-04 08:05:50,770 - bootstrapping - INFO - Figuring out my environment (Google? AWS? Openstack? Local?) | |
2019-01-04 08:05:50,799 - bootstrapping - INFO - No meta-data available for this provider | |
2019-01-04 08:05:50,799 - bootstrapping - INFO - Looks like your running unsupported | |
2019-01-04 08:05:50,869 - bootstrapping - WARNING - could not parse kubernetes labels as a JSON: Expecting value: line 1 column 1 (char 0), reverting to the default: {"application": "spilo"} | |
2019-01-04 08:05:50,871 - bootstrapping - INFO - Configuring certificate | |
2019-01-04 08:05:50,872 - bootstrapping - INFO - Generating ssl certificate | |
2019-01-04 08:05:51,063 - bootstrapping - INFO - Configuring crontab | |
2019-01-04 08:05:51,063 - bootstrapping - INFO - Configuring log | |
2019-01-04 08:05:51,063 - bootstrapping - INFO - Configuring patronictl |
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
use std::cell::RefCell; | |
use std::rc::Rc; | |
pub struct SimpleLinkedList<T> { | |
head: Option<Rc<RefCell<Element<T>>>>, | |
} | |
pub struct Element<T> { | |
data: T, | |
next: Option<Rc<RefCell<Element<T>>>>, |
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
pub struct SimpleLinkedList<T> { | |
head: Option<Box<Element<T>>>, | |
} | |
pub struct Element<T> { | |
data: T, | |
next: Option<Box<Element<T>>>, | |
} | |
impl<T> SimpleLinkedList<T> { |
NewerOlder