Skip to content

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

Notifications You must be signed in to change notification settings

viktorklang/scala-futures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages