This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../jsonnet-perf-tests.sh 2>&1 | tee ../results.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Google Inc. | |
Copyright 2014 Google Inc. All rights reserved. | |
Google Chrome 40.0.2214.43 (Official Build) beta | |
Revision 9d5cd14c677accab1e25f0ee3d58667ff5b41dac | |
Platform 6457.36.0 (Official Build) beta-channel parrot_ivb | |
Blink 537.36 (@62f90f76bfca59fa9dd2d73329019b2d841a9b5e) | |
JavaScript V8 3.30.33.8 | |
Flash 16.0.0.235-r1 | |
User Agent Mozilla/5.0 (X11; CrOS x86_64 6457.36.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.43 Safari/537.36 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define FAST // Comment this out this going 7 times slower | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
namespace netBlah1 | |
{ | |
class Program | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local | |
tar jxf ~/opencv2.4.8-cygwin64-g++-4.8.2-shared-release-20131231.tar.bz2 | |
cd ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First I've downloaded ode from here: | |
http://sourceforge.net/projects/opende/files/ODE/0.12/ and extracted it in my e:\p under e:\p\ode-0.12 | |
Then I did (from cmd.exe) | |
bash --login -i | |
$ cd /cygdrive/e/p/ode-0.12 | |
$ ./configure | |
checking build system type... x86_64-unknown-cygwin | |
checking host system type... x86_64-unknown-cygwin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Stolen from luajit - http://repo.or.cz/w/luajit-2.0.git/blob/HEAD:/src/lj_obj.h */ | |
/* Look for examples here - http://repo.or.cz/w/luajit-2.0.git/blob/HEAD:/src/lj_meta.c */ | |
/* ANd http://repo.or.cz/w/luajit-2.0.git/blob/HEAD:/src/lj_obj.c */ | |
#define MYDEFS(_) _(one) _(two) _(three) _(four) _(five) | |
/* Make an enum from 'one', 'two', etc. */ | |
typedef enum my_enums{ | |
#define MYENUM(name) my_##name, | |
MYDEFS(MYENUM) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
#include <iostream> | |
#include <cassert> | |
#include <cstdint> | |
#include "murmur3_32_constexpr.hpp" | |
// Add compilers here | |
#define UNKNOWN -1 | |
#define GCC 0 | |
#define CLANG 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
ProFi v1.3, by Luke Perkin 2012. MIT Licence http://www.opensource.org/licenses/mit-license.php. | |
Example: | |
ProFi = require 'ProFi' | |
ProFi:start() | |
some_function() | |
another_function() | |
coroutine.resume( some_coroutine ) | |
ProFi:stop() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OpenGL - glfw, regal, cairo | |
GLESv2 - egl, gles2, cairo-gles2 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local sqrt = math.sqrt | |
local huge = math.huge | |
local delta = 1 | |
while delta * delta + 1 ~= 1 do | |
delta = delta * 0.5 | |
end | |
-- vectors ------------------------------------------------------------------- |