I got those qlog files using aioquic.
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/focal64" | |
config.vm.disk :disk, size: "100GB", primary: true | |
config.vm.synced_folder "empty", "/vagrant", type: "rsync", rsync__exclude: [ ".git/", "h3/target", "quinn-interop/target" ] | |
config.vm.synced_folder "dotfiles", "/home/jcbegue/.config/nixpkgs", type: "rsync", rsync__exclude: [ ".git/", "h3/target", "quinn-interop/target" ] | |
config.vm.provider "virtualbox" do |vb| |
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
version: "3.8" | |
networks: | |
host: | |
services: | |
nfs: | |
image: erichough/nfs-server | |
privileged: true | |
networks: | |
- host | |
volumes: |
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
{ pkgs ? import <nixpkgs> {}, ...}: | |
with pkgs; | |
(pkgs.buildFHSUserEnv { | |
name = "yocto-env"; | |
# Packages Yocto is expecting on the host system by default | |
targetPkgs = pkgs: (with pkgs; [ | |
bash | |
bashInteractive |
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
;;; .doom.d/config.el -*- lexical-binding: t; -*- | |
(setq user-full-name "Jean-Christophe BEGUE") | |
(setq user-mail-address "111111111111111111") | |
;; Start maximized | |
(add-to-list 'default-frame-alist '(fullscreen . maximized)) | |
;; Hide title bar and other decorations | |
(set-frame-parameter nil 'undecorated 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
File: connection.rs | |
13 5 use quinn_proto::{ | |
ConnectionClose, ConnectionError as QuicConnError, Side, StreamId, TransportErrorCode, | |
}; | |
File: server.rs | |
116 5 use quinn_proto::Side; | |
File: client.rs | |
83 5 use quinn_proto::{Side, StreamId}; |
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
#!/usr/bin/env python3 | |
a = ValueError("salut") | |
b = ValueError("salut") | |
# En gros le vrai test de comparaison c'est: | |
def test_equal(): | |
assert isinstance(a, b.__class__) | |
assert a.args == b.args |
SAMPLES=100
BRANCH=master
for i in {1..$SAMPLES}; do
echo -e "\e[1A\e[0K\r[$i/$SAMPLES]"
cargo run --release -q -- --seq h3.stammw.eu \
| grep throughput \
| sed 's/.*time \([-+0-9.]\+\)%.*/\1/' \
| xargs \
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
# Server | |
sudo perf record --call-graph=dwarf -g target/debug/server \ | |
-k ~/.local/share/quinn-examples/key.der -c ~/.local/share/quinn-examples/cert.der | |
# Client | |
time cargo run --example=h3_client -- --ca ~/.local/share/quinn-examples/cert.der https://localhost/500000000 | |
# Generate graph | |
perf script | ../flamegraph/stackcollapse-perf.pl | ./rust-unmangle | ../flamegraph/flamegraph.pl > flame.svg |
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
thread 'tokio-runtime-worker' panicked at 'called `Option::unwrap()` on a `None` value', /rustc/f3e1a954d2ead4e2fc197c7da7d71e6c61bad196/src/libcore/macros/mod.rs:15:40 | |
stack backtrace: | |
server received connection | |
0: 0x5617cae8bcc4 - backtrace::backtrace::libunwind::trace::he25250f78ba1020d | |
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88 | |
1: 0x5617cae8bcc4 - backtrace::backtrace::trace_unsynchronized::hd7e25f35da233a1e | |
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66 | |
2: 0x5617cae8bcc4 - std::sys_common::backtrace::_print_fmt::h5578a566a4c2ae4e | |
at src/libstd/sys_common/backtrace.rs:84 |
NewerOlder