question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.x: Performance improvements (tracking issue)

See original GitHub issue

I assembled a fresh evaluation of RxJava 1, 2 and Reactor 3.2 performance under various usages and found the following deficiencies in RxJava 2.

  • Flowable.empty() appears to be consuming a lot of memory.
  • See if a non-trampolining Schedulers.from could improve async/pipeline performance.
  • Check why Observable.blockingLast has 30% more overhead than its Flowable counterpart.
  • Check why there is a lot more overhead with ReplayProcessor and ReplaySubject compared to v1.
  • Check why there is a lot more overhead with UnicastProcessor and UnicastSubject compared to v1.
  • Check why Observable.fromArray is somewhat slower with longer sources than Flowable.
  • Check why Observable.fromIterable is slower with longer sources than Flowable.
  • Optimize Observable.concatMap for scalar inner sources.
  • Check why Flowable.flatMapIterable is drastically slower than Observable and Reactor’s version in just/range/crossmap scenarios.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:17
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
akarnokdcommented, Dec 30, 2020

You can try that. Ops/second is the usual measure for us.

0reactions
akarnokdcommented, Dec 18, 2021

Different JVM versions give different results and I don’t see any clear optimizations to make them better across. I’ll close it for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tracking Down Performance Tuning Issues | Datavail
An important first step to take well before any changes are made to the system is to carefully evaluate the various components, including ......
Read more >
Performance Tuning SQL Server Change Tracking
Let's say I'm using Change Tracking to move data to a secondary SQL Server. Normally it polls data every hour, but there's a...
Read more >
A guide to issue trackers (+3 best issue tracking software)
An issue tracker records all customer problems. Learn why it's the all-in-one solution for streamlining your customer support experience.
Read more >
Viewing all of your issues and pull requests - GitHub Docs
The Issues and Pull Request dashboards list the open issues and pull ... For better performance, improved security, and new features, upgrade to...
Read more >
Explore best practices for Spark performance optimization
Learn some performance optimization tips to keep in mind when developing your Spark applications.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found