Skip to content

Commit

Permalink
Effects: update performance wiki page
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon authored and hhugo committed Jan 6, 2023
1 parent 34efced commit 94bfa3c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions benchmarks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ time-effects.svg: __run_effects
-omit fannkuch_redux \
-omit fannkuch_redux_2 \
-omit loop \
-omit boulderdash \
-omit cubes \
-omit minesweeper \
-omit planet \
-omit ocamlc \
-max 5 -svg 7 400 150 -edgecaption -ylabel "Execution time" \
> $@

Expand Down
Binary file modified manual/files/performances/size-bzip2-effects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manual/files/performances/size-effects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified manual/files/performances/time-effects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions manual/performances.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ See how various js_of_ocaml options affect the generated size and execution time
<<a_img src="performances/time-optim.png" | Relative execution times >>

We show the performance impact of supporting effect handlers. The code
is about 50% larger. The impact on compressed code is actually much lower
is about 30% larger. The impact on compressed code is actually much lower
since we are adding a lot of function definitions, which are rather
verbose in JavaScript but compress well: the compressed code size
increase by about only 5% for large files compressed with {{{bzip2}}}.
hardly increases for large files compressed with {{{bzip2}}}.
Code that involves a lot of function calls without allocation, such as
{{{fib}}}, becomes much slower. The overhead is more reasonable for
{{{fib}}}, becomes much slower. The overhead is reasonable for
code that performs a lot of allocations ({{{hamming}}}) or that
performs some numeric computations ({{{almabench}}}, {{{fft}}}).
Exception handling is faster ({{{boyer}}}).
Expand Down

0 comments on commit 94bfa3c

Please sign in to comment.