Skip to content

Instantly share code, notes, and snippets.

View LPardue's full-sized avatar
🤓
Nerd face

Lucas Pardue LPardue

🤓
Nerd face
View GitHub Profile
@LPardue
LPardue / buffer_read.cpp
Created April 13, 2017 14:28
PADDING performance testing
#include <iostream>
#include <memory>
#include <chrono>
#include <vector>
#include <cstdint>
/*
* This program tests some mock QUIC PADDING frames.
* The general approach is to have a buffer full of padding
* with the final byte as some imaginary frame type (0xA).

Keybase proof

I hereby claim:

  • I am lpardue on github.
  • I am lucasp (https://keybase.io/lucasp) on keybase.
  • I have a public key ASBNzIHMCjoRfJftxkQj-JO2OW5v_djeeXyyxcjDWet_0Qo

To claim this, I am signing this object: