Skip to content

Instantly share code, notes, and snippets.

View tmontgomery's full-sized avatar

Todd L. Montgomery tmontgomery

  • StoneTor, LLC
  • San Francisco Bay Area, CA, USA
View GitHub Profile
#include "jsmn.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <iostream>
#include <string>
/*
@tmontgomery
tmontgomery / gist:7574353
Created November 21, 2013 01:16
Example of basic structure of C++ benchmarks. New benchmarks subclass Benchmark class like MyBench and MyBench2.
#include <stdio.h>
#include <iostream>
#include <vector>
class Benchmark
{
public:
virtual void setUp(void) {};
virtual void tearDown(void) {};