Skip to content

Instantly share code, notes, and snippets.

View antichris's full-sized avatar
🇺🇦
Russi, cedite illac quo navis bellica ivit

antichris

🇺🇦
Russi, cedite illac quo navis bellica ivit
View GitHub Profile
@antichris
antichris / gologging_test.go
Last active August 23, 2020 16:15 — forked from Avinash-Bhat/gologging_test.go
benchmark for disabling logs with various packages
package main
import (
logging "github.com/op/go-logging"
"io/ioutil"
"log"
"os"
"testing"
)
<?php
define('T', ' ');
define('N', PHP_EOL);
$functions = array();
$classes = array();
$constant_prefix = 'X_';
$php = '<?php' . N;