Skip to content

Instantly share code, notes, and snippets.

View kamek-pf's full-sized avatar

Bertrand Bousquet kamek-pf

  • Montréal
View GitHub Profile
@kamek-pf
kamek-pf / alacritty.yml
Last active February 21, 2024 12:20
Gruvbox Material Dark Medium - Alacritty
# Colors (Gruvbox Material Dark Medium)
colors:
primary:
background: '0x282828'
foreground: '0xdfbf8e'
normal:
black: '0x665c54'
red: '0xea6962'
green: '0xa9b665'
@kamek-pf
kamek-pf / main.rs
Last active November 26, 2017 22:44
Rust AWS client init benchmark
// In this test, I benchmark 3 different ways to initialize AWS clients in Rust, using the Rusoto crates
// I wanted to know what was more efficient :
// - Create a new client for every call (Boxed or not)
// - Initialize once using the lazy_static macro and a mutex
// - Initialize one using the thread_local macro
#![feature(test)]
extern crate test;
extern crate rusoto_core;
extern crate rusoto_sns;