Taketrung / betting-ai

Automatically exported from code.google.com/p/betting-ai
1 stars 1 forks source link

Improve performance of market simulator #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
- Esper send event -> MapEventType.hashCode - 5% of CPU

- Esper - replace iterating through epl statement with registering esper 
listener, find esper (read this before, 
http://old.nabble.com/User-controlled-time-and-UpdateListener-td30347116.html)

-Risk ->market.getBestPrices - 5% of CPU

- MarketEventProcessorImpl.process.nextToken - 5% of CPU

- Read Esper chapter on performance (Esper Online Documentation)

- Do not calculate the same values by multiple esper engines, e.g. 5 the same 
traders calculating traded volume delta using 5 different esper engines.

Original issue reported on code.google.com by daniel.k...@gmail.com on 4 Mar 2011 at 6:00

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 14 Apr 2011 at 11:27