Skip to content

Instantly share code, notes, and snippets.

View KristofferC's full-sized avatar
🇸🇪

Kristoffer Carlsson KristofferC

🇸🇪
View GitHub Profile
@KristofferC
KristofferC / syms
Last active October 23, 2017 15:41
:error_color x
:bytestring (0)
:unwrap_unionall x
:isconcrete x
Symbol("@nospecialize")
:FloatRange
:read!
:iteratorsize
:combinations
:xor
julia> code_native(advance, Tuple{Int, Vector{planet}, Float64})
.text
; Function <invalid> {
; Location: REPL[11]
pushq %rbp
movq %rsp, %rbp
;}
; Function advance {
; Location: REPL[11]:2
pushq %r15
diff --git a/doc/make.jl b/doc/make.jl
index ad966f9..d21120f 100644
--- a/doc/make.jl
+++ b/doc/make.jl
@@ -116,9 +116,11 @@ const PAGES = [
],
]
+using Test
+
julia> @code_warntype [1,2,3] / 1
Variables:
  #self# <optimized out>
  A::Array{Int64,1}
  B::Int64
  T <optimized out>
  shape <optimized out>
  iter <optimized out>
  C::Array{Float64,1}
diff --git a/src/utils.jl b/src/utils.jl
index 5fa4b51..ae8391c 100644
--- a/src/utils.jl
+++ b/src/utils.jl
@@ -83,6 +83,71 @@ macro precedence(ps, prec, body)
end
end
+
+struct TMP
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds).

ID time ratio memory ratio

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds).

ID time ratio memory ratio
# Logfile created on 2017-07-21 21:52:21 +0900 by logger.rb/54362
I, [2017-07-21T21:52:21.088374 #22192] INFO -- : #<BuildRuby:0x00000001833960 @REPOSITORY="https://svn.ruby-lang.org/repos/ruby/trunk", @REPOSITORY_TYPE=:svn, @git_branch=nil, @svn_revision=nil, @TARGET_NAME="trunk-test", @SRC_DIR="/home/ko1/ruby/src", @BUILD_DIR="/home/ko1/ruby/build", @INSTALL_DIR="/home/ko1/ruby/install", @TARGET_SRC_DIR="/home/ko1/ruby/src/trunk-test", @TARGET_BUILD_DIR="/home/ko1/ruby/build/trunk-test", @TARGET_INSTALL_DIR="/home/ko1/ruby/install/trunk-test", @configure_opts=["--enable-shared"], @build_opts="-j12", @test_opts="TESTS='-j12'", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @logfile="/home/ko1/ruby/logs/brlog.trunk-test.20170721-215221", @logger=#<Logger:0x000000017c1928 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0
Hello World!