Skip to content

Instantly share code, notes, and snippets.

@joaovicente
joaovicente / TracyBenchmark.java
Last active March 10, 2016 21:37
Sample Tracy benchmark
package org.sample;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.*;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
import org.openjdk.jmh.runner.options.OptionsBuilder;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.infra.Blackhole;
import java.util.concurrent.TimeUnit;
@joaovicente
joaovicente / .block
Last active September 29, 2020 10:33
Force graph visualising call tree
license: apache-2.0
@joaovicente
joaovicente / .block
Last active September 29, 2020 10:35
D3 Foundations of a timeline
license: apache-2.0
@joaovicente
joaovicente / TracyJmhBenchmark.java
Created March 27, 2017 10:00
TracyJmhBenchmark
/*
* Copyright (c) 2014, Oracle America, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
?([
{
"code": "AF",
"value": 53,
"name": "Afghanistan"
},
{
"code": "AL",
"value": 117,
"name": "Albania"
?([
{
"code": "AF",
"value": 53,
"name": "Afghanistan"
},
{
"code": "AL",
"value": 117,
"name": "Albania"
@joaovicente
joaovicente / GitHub Flavored Asciidoc (GFA).adoc
Created December 10, 2018 11:26 — forked from dcode/GitHub Flavored Asciidoc (GFA).adoc
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@joaovicente
joaovicente / pandas-101.ipynb
Last active December 9, 2020 14:29
Pandas 101
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.