Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Improving Scala Futures

This repository is a working repository to improve and optimize Scala Futures.

To run the JMH benches:

sbt
project benches
jmh:runMain scala.future.BenchRunner JMH_ARGUMENTS_GO_HERE .*NAME_OF_BENCH.*

Examples:

To run the JMH benchmark for completing Promises:

jmh:runMain scala.future.BenchRunner -p pool=fie -p threads=1 -p recursion=8192 -i 20 -wi 15 -f1 -t1 CompleteBenchmark*

To run the JMH benchmark for adding callbacks to Futures:

jmh:runMain scala.future.BenchRunner -p pool=fie -p threads=1 -p recursion=8192 -i 20 -wi 15 -f1 -t1 CallbackBenchmark*

Please open Issues or submit Pull Requests to propose more benchmarks so we can attempt to ensure that there are no regressions and so that we can quantify optimization improvements across different hardware architectures and OS setups.

About

My experiments improving Scala's Future for Scala 2.12 and beyond

Resources

Stars

34 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages