Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
3cbff985
Commit
3cbff985
authored
Apr 26, 2011
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added `recording and stopping traces' and cleaned the document.
parent
ba3207f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
114 additions
and
89 deletions
+114
-89
portfolio/tracing/presentation.tex
portfolio/tracing/presentation.tex
+114
-89
No files found.
portfolio/tracing/presentation.tex
View file @
3cbff985
\documentclass
{
beamer
}
% {{{
\documentclass
{
beamer
}
\usepackage
[dutch]
{
babel
}
\usepackage
[utf8]
{
inputenc
}
\usepackage
{
beamerthemesplit
}
...
...
@@ -8,8 +8,7 @@
\setbeamercovered
{
transparent
}
% Custom footer columns widths (modified "infolines" template)
\defbeamertemplate*
{
footline
}{
compactlines theme
}
{
\defbeamertemplate*
{
footline
}{
compactlines theme
}
{
\leavevmode
%
\hbox
{
%
\begin{beamercolorbox}
[wd=.400000
\paperwidth
,ht=2.25ex,dp=1ex,center]
{
author in head/foot
}
%
...
...
@@ -27,7 +26,7 @@
\mode
<presentation>
{
\usetheme
{
Boadilla
}
%
\usetheme{Copenhagen}
%
\usetheme{Copenhagen}
\usecolortheme
[named=kugreen]
{
structure
}
\useinnertheme
{
circles
}
\usefonttheme
[onlymath]
{
serif
}
...
...
@@ -48,8 +47,6 @@
\newfloat
{
program
}{
thp
}{
lop
}
\floatname
{
program
}{
Program
}
% }}}
\title
{
Incremental trace trees and JavaScript
}
\subtitle
{
Executing typeless, dynamic languages faster
}
\author
{
Sander van Veen
}
...
...
@@ -58,18 +55,19 @@
\begin{document}
\frame
{
\titlepage
% {{{
}
% }}}
\frame
{
\titlepage
}
\frame
{
\frametitle
{
Overzicht
}
% {{{
\frame
{
\frametitle
{
Overzicht
}
\tableofcontents
[pausesection]
}
% }}}
}
\section
{
Introductie tot JavaScript
}
\subsection
{
Wat is JavaScript?
}
\frame
{
\frametitle
{
JavaScript overzicht
}
% {{{
\frame
{
\frametitle
{
JavaScript overzicht
}
De taal JavaScript is:
...
...
@@ -82,9 +80,9 @@
\input
{
basic-example
}
}
% }}}
}
\frame
{
\frametitle
{
JavaScript variabel representatie
}
% {{{
\frame
{
\frametitle
{
JavaScript variabel representatie
}
Firefox gebruikt 64 bits voor alle types:
...
...
@@ -107,11 +105,11 @@
\item
Dus: bij
\texttt
{
NaN
}
bepalen de 14 bits na de exponent de TAG.
\end{itemize}
}
% }}}
}
\subsection
{
Browser onderdelen
}
\frame
{
\frametitle
{
Wat doet elk onderdeel?
}
% {{{
\frame
{
\frametitle
{
Wat doet elk onderdeel?
}
In de Mozilla Firefox browser:
...
...
@@ -127,10 +125,13 @@
\end{itemize}
\end{itemize}
}
% }}}
}
\section
{
Compiler basics
}
\subsection
{
Control flow graph
}
\frame
{
\frametitle
{
Control flow graph
}
% {{{
\frame
{
\frametitle
{
Control flow graph
}
\begin{columns}
[t]
...
...
@@ -145,32 +146,56 @@
\end{columns}
}
% }}}
}
\subsection
{
Trace vs Just-In-Time compiler
}
\frame
{
\frametitle
{
Trace vs Just-In-Time compiler
}
% {{{
\frame
{
\frametitle
{
Trace vs Just-In-Time compiler
}
\begin{columns}
[t]
\column
{
.5
\textwidth
}
\textbf
{
Trace compiler
}
\begin{columns}
[t]
\column
{
.5
\textwidth
}
\textbf
{
Trace compiler
}
\begin{itemize}
\begin{itemize}
\item
Eenheid is een ``loop''.
\item
Benodigd: Traces opnemen
.
\item
\emph
{
Lazy compilation
}
; niet 3 en 7
.
\includegraphics
[width=6cm]
{
images/trace-tree.pdf
}
\end{itemize}
\end{itemize}
\column
{
.5
\textwidth
}
\textbf
{
Just-In-Time compiler
}
\column
{
.5
\textwidth
}
\textbf
{
Just-In-Time compiler
}
\begin{itemize}
\begin{itemize}
\item
Eenheid is een ``method''.
\item
Benodigd: Control flow graph.
\includegraphics
[width=6cm]
{
images/control-flow-graph.pdf
}
\end{itemize}
\end{itemize}
\end{columns}
}
\subsection
{
Trace trees
}
\frame
{
\frametitle
{
Hoe worden traces opgenomen?
}
\end{columns}
\begin{enumerate}
\item
Detecteer start van een loop.
\item
Houd
\emph
{
loop count
}
bij.
\item
Loop count
$
>
$
\emph
{
threshold
}
: record trace!
\item
Stop de trace na een cycle.
\end{enumerate}
}
% }}}
\pause
\textbf
{
Of een trace faalt
}
\begin{enumerate}
\item
Er treedt een
\emph
{
exception
}
op.
% \item \emph{Memory allocation} instructies.
\item
Een trace wordt te lang (voor geheugen).
\end{enumerate}
}
\end{document}
% vim: foldmethod=marker
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment