Skip to content

Benchmarks - #69

Merged
mischnic merged 1 commit into
mainfrom
benchmarks
Aug 7, 2021
Merged

Benchmarks#69
mischnic merged 1 commit into
mainfrom
benchmarks

Conversation

@mischnic

@mischnic mischnic commented Jun 22, 2021

Copy link
Copy Markdown
Collaborator

Depends on #68

niklas@nmb:~/…/UE/SchokoVM/build (benchmarks) $ make
[ 19%] Built target tests
[ 80%] Built target jvm
[ 90%] Built target NativeLib
[100%] Built target SchokoVM

niklas@nmb:~/…/UE/SchokoVM/build (benchmarks) $ ../run.sh
java FibonacciRec 32 > /dev/null  0.09s user 0.02s system 123% cpu 0.094 total
java -XX:-UseCompiler FibonacciRec 32 > /dev/null  0.34s user 0.02s system 98% cpu 0.372 total
./SchokoVM --java-home $JAVA_HOME FibonacciRec 32 > /dev/null  1.96s user 0.10s system 99% cpu 2.074 total

java FibonacciIter 5000 > /dev/null  0.09s user 0.03s system 121% cpu 0.092 total
java -XX:-UseCompiler FibonacciIter 5000 > /dev/null  0.06s user 0.02s system 95% cpu 0.091 total
./SchokoVM --java-home $JAVA_HOME FibonacciIter 5000 > /dev/null  0.08s user 0.08s system 96% cpu 0.162 total

java FibonacciIterBig 50000 > /dev/null  0.28s user 0.25s system 231% cpu 0.227 total
java -XX:-UseCompiler FibonacciIterBig 50000 > /dev/null  1.01s user 0.27s system 123% cpu 1.042 total
./SchokoVM --java-home $JAVA_HOME FibonacciIterBig 50000 > /dev/null  15.46s user 0.29s system 99% cpu 15.836 total

@RobertObkircher

Copy link
Copy Markdown
Owner

Ideas:

  • startup time of "Hello world!"
  • Maybe karel the robot?
  • a graph of the execution time of each test case (executed sequentially)
  • Some larger program
    - I can't think of anything right now.
    - Probably too complex: https://github.com/RobertObkircher/AlgoDat_E1 (private repo)
    - It would look really cool, if we could run a graphical application. Maybe an exercise from EP1/2?

Base automatically changed from various-things to main June 23, 2021 10:22
@mischnic

Copy link
Copy Markdown
Collaborator Author

potentially PRNG / Quicksort

@mischnic

mischnic commented Aug 7, 2021

Copy link
Copy Markdown
Collaborator Author

I'm merging this because there are no actual code changes

@mischnic mischnic changed the title DRAFT: Benchmarks Benchmarks Aug 7, 2021
@mischnic
mischnic merged commit b4c1649 into main Aug 7, 2021
@mischnic
mischnic deleted the benchmarks branch August 7, 2021 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants