Skip to content

Instantly share code, notes, and snippets.

@undingen
undingen / gist:c1a4461e430408e80fbb
Created March 25, 2015 21:13
LLVM pass timing
./pyston_release -s -S -n -c "import optparse"
us_compiling: 3245658
us_compiling_1_minimal: 3233558
us_compiling_2_moderate: 12100
us_compiling_analysis_definedness: 144997
us_compiling_analysis_liveness: 158656
us_compiling_analysis_phis: 274485
us_compiling_analysis_types: 141828
us_compiling_irgen: 174236
@undingen
undingen / file.cpp
Created March 16, 2015 16:11
file.tell(), file.seek() from cpython
// Copyright (c) 2014-2015 Dropbox, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,