Skip to content

Instantly share code, notes, and snippets.

View tejom's full-sized avatar

Matthew Tejo tejom

  • Twitter
  • San Francisco, CA
View GitHub Profile
#!/usr/bin/ruby
require 'csv'
FILE_NAME = "./res3.csv"
AUD_RATE = 0.759
POUND_RATE = 1.3
CAD_RATE = 0.77
KR_RATE = 0.116852
numbers = []
@tejom
tejom / notesonv8.txt
Last active November 22, 2016 16:35
notes on v8
https://www.youtube.com/watch?v=VhpdsjBUS3g&feature=youtu.be&t=16m30s
http://mrale.ph/blog/2011/12/18/v8-optimization-checklist.html
gdb compile
https://groups.google.com/forum/#!topic/v8-users/OIICvStFMmc
https://groups.google.com/forum/#!searchin/v8-users/gdb%7Csort:relevance/v8-users/GxCmg3fRaLU/p6Jb95RkQ9cJ
V8 Inside Out” from WebRebels 2012
saw tooth gc memory usage
@tejom
tejom / hello-world.cc
Created November 24, 2016 01:42
console.log v8
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fstream>
#include <iostream>
@tejom
tejom / index.js
Created December 21, 2016 06:49
nodejs http request measurments
const http = require('http');
require('net')
var options = {
host: 'www.google.com',
path: '/'
};
endtimer = process.hrtime()
for( x=0;x<20;x++){
import cats.data.State
import cats.instances.vector._
import scala.language.higherKinds
import cats.syntax.applicative._
object julythree {
def main(args: Array[String]): Unit = {
val ins = List(List('0', '1'), List('A', 'B', 'C'), List('D', 'E', 'F', 'G'))