<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7273" />
	<updated>2018-03-28T18:27:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7273/ea-studio-up-to-3x-faster-with-chrome-compared-to-firefox/</id>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49881/#p49881" />
			<content type="html"><![CDATA[<p>Do you mean my video? If so, I am using &quot;only&quot; 60000 bars (are you using more?), and then I have a little bit faster CPU than yours, I am on an AMD Threadripper 1950X (just was released last year), overclocked to 3.95 GHz, that is a whole lot faster (also per core) than your I5, which also is a mobile variant with extra power savings and hence even slower than the desktop variant.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T18:27:52Z</updated>
			<id>https://forexsb.com/forum/post/49881/#p49881</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49876/#p49876" />
			<content type="html"><![CDATA[<p><a href="https://postimg.org/image/rwovvneqd/"><span class="postimg"><img src="https://s18.postimg.org/rwovvneqd/cpu.png" alt="https://s18.postimg.org/rwovvneqd/cpu.png" /></span></a></p><p>I have a Laptop as you see in pic with ssd. But i have never reached such fast generated strats as you in your video? Is that manipulated? Or do you have make faster in video?</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-03-28T11:27:25Z</updated>
			<id>https://forexsb.com/forum/post/49876/#p49876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49875/#p49875" />
			<content type="html"><![CDATA[<p>Yes, and loaded a strategy too. I will test again later today, a bit busy right now, might have messed something up :-)</p><p>Can you do me a quick favor and look at this one? </p><p><a href="https://forexsb.com/forum/topic/7290/increase-sharpe-ratio-resolution-in-acceptance-criterias/">https://forexsb.com/forum/topic/7290/in … criterias/</a></p><p>Should be an easy fix. Thanks so much.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T10:34:38Z</updated>
			<id>https://forexsb.com/forum/post/49875/#p49875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49873/#p49873" />
			<content type="html"><![CDATA[<p>Did you do this: 1. Open the core app here: https://eas.forexsb.com/</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-28T09:30:45Z</updated>
			<id>https://forexsb.com/forum/post/49873/#p49873</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49872/#p49872" />
			<content type="html"><![CDATA[<p>Does not seem to work here:</p><p>VM110:3 Uncaught ReferenceError: eas is not defined<br />&nbsp; &nbsp; at speedTest (&lt;anonymous&gt;:3:22)<br />&nbsp; &nbsp; at &lt;anonymous&gt;:1:1</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T09:25:59Z</updated>
			<id>https://forexsb.com/forum/post/49872/#p49872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49871/#p49871" />
			<content type="html"><![CDATA[<p>Cool Popov, will test :-) No, all windows have been active, made sure about that - they all had the same % CPU usage too during the benchmark, so that was not the reason at all. We should just use what´s fastest in the given environment, everyone should test what the best browser is for them and we have seen: a change in CPU / VM can make another browser faster than the other one :-)</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T08:56:40Z</updated>
			<id>https://forexsb.com/forum/post/49871/#p49871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49870/#p49870" />
			<content type="html"><![CDATA[<p>One possible reason for the discrepancy may be that one of the browser is active and the other not. I suppose the active one may be faster.</p><p>Other reason may be that the Generator finds different strategies, pushes to Collection and draw chart. This all may take different time. </p><p>I wrote a simple speed test that calculates one strategy 1000 times and shows the time in milliseconds.</p><p>In order to do the test follow the steps:</p><p>1. Open the core app here: https://eas.forexsb.com/</p><p>2. load MetaTrader Demo Data H1 in Editor.</p><p>3. Open the Developer Console (F12)</p><p>4. Paste the following function:</p><div class="codebox"><pre><code>function speedTest(cycles) {
    console.log(&quot;Test started. Please wait...&quot;);
    const strategy = eas.strategy;
    const settings = eas.settings;
    const dataSet = eas.dataManager.dataHolder[&quot;MetaTrader-Demo EURUSD H1&quot;];

    const startTime = Date.now();

    for(let i = 0; i &lt; cycles; i++) {
        strategy.setAllIndicatorsDirty();
        BacktesterHelper.calculateStrategy(strategy, dataSet);
        Backtester.calculate(strategy, dataSet, settings);
    }

    const time = Date.now() - startTime;
    console.log(cycles + &quot; cycles calculated for: &quot; + time + &quot;ms&quot;);
}</code></pre></div><p>5. Run the test with this call: speedTest(1000);</p><p>It shows 10250 - 10750 ms on my machine on Chrome. Lower is better.</p><p><strong>Edit:</strong> The result greatly depends on what strategy you have in the Editor. You may test with more complex or more simple.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-28T07:07:36Z</updated>
			<id>https://forexsb.com/forum/post/49870/#p49870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49869/#p49869" />
			<content type="html"><![CDATA[<p>Just did the same test &quot;Firefox Quantum 59.0.2 vs Chromium 67.0.3380&quot; on my REAL machine now (not in a VM like when I posted above) and in that case, Chromium beats Firefox hands down once again. What this comes down to is this: CPU! In the VM, the CPU was emulated (with lack of some instructions), on my real machine, both browsers (and especially the highly optimized Chromium build) can use all CPU features and hence the optimized Chrome seems to beat everything in that case. It also runs about 2x as fast as in the VM (VirtualBox) when compared Chrome REAL vs Chrome in VM. Very interesting...</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T06:25:59Z</updated>
			<id>https://forexsb.com/forum/post/49869/#p49869</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49868/#p49868" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ViniQ wrote:</cite><blockquote><p><strong>Vini benchmark</strong></p><p>Chromium (compiled with Polly optimizations) v67.0.3380&nbsp; vs Firefox Quantum 59.0.2<br /><a href="https://www.youtube.com/watch?v=-OFfVbISMX4&amp;feature=youtu.be"><span class="postimg"><img src="https://i.imgur.com/c0FHaPK.png" alt="https://i.imgur.com/c0FHaPK.png" /></span></a></p><p>I&#039;ve record the session with one computer(my notebook) and use other (my pc) to do the experiment just to avoid consume cpu with the main computer while recording.</p><p>Benchmark Data and Time<br /><span class="postimg"><img src="https://i.imgur.com/txAk8BE.png" alt="https://i.imgur.com/txAk8BE.png" /></span></p><p>Results<br /><span class="postimg"><img src="https://i.imgur.com/bk7c1aJ.png" alt="https://i.imgur.com/bk7c1aJ.png" /></span></p><p>For my environment (i5-3.8ghz 7 gen, ssd, windows 10) Firefox Quantum 59.0.2 was faster than Chromium v67.0.3380 by a little. Maybe with long time runs +12 hours the difference can be better.</p><p>I will recommend to everyone if you use chrome that you can create a new chrome user and use it without chrome extensions just for generation purpose. Some chrome extensions consume cpu. <img src="https://forexsb.com/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>I&#039;ve done my part, thank you @geektrader for the contribution and for sharing yours discoveries.</p><p>See you guys</p></blockquote></div><p>Thanks again for this test, I have tested exactly the same Firefox Quantum 59.0.2 vs Chromium 67.0.3380 now and can confirm you results! It´s very odd, either Firefox Quantum has got a huge speed-boost from the version 59.0.0 I had tested in my original video, or Chromium 67.0.3378 -&gt; 67.0.3380 got a lot slower. I will do more tests and report back. Quantum 59.0.2 even beats out Microsoft Edge now! Crazy stuff and interesting how the speed can change between minor browser versions! So this is something that must be re-tested over and over again as it seems.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T06:18:39Z</updated>
			<id>https://forexsb.com/forum/post/49868/#p49868</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49866/#p49866" />
			<content type="html"><![CDATA[<p>Great find!! I will have to test this too, the V8 Javascript engine in Chrome is very efficient at optimizing the code over time, so Edge might fall behind in a longer run. I will report back....</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-28T05:25:47Z</updated>
			<id>https://forexsb.com/forum/post/49866/#p49866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49853/#p49853" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>geektrader wrote:</cite><blockquote><p>Cool, so you see the same in that relation, great!</p></blockquote></div><p>sorry edge was faster for 10minutes after that chrome was faster</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-03-27T18:55:22Z</updated>
			<id>https://forexsb.com/forum/post/49853/#p49853</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49850/#p49850" />
			<content type="html"><![CDATA[<p>Cool, so you see the same in that relation, great!</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-27T17:59:13Z</updated>
			<id>https://forexsb.com/forum/post/49850/#p49850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49849/#p49849" />
			<content type="html"><![CDATA[<p>edge is faster than newest chrome for me..</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-03-27T17:11:15Z</updated>
			<id>https://forexsb.com/forum/post/49849/#p49849</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49833/#p49833" />
			<content type="html"><![CDATA[<p>I just did another test too, Chrome is beating Firefox especially if both are running for a few minutes. Chrome seems to create more and more optimized machine code (Javascript = JIT compiler as you might know) while Firefox is a bit faster for the first ~2 minutes, if both have &quot;never seen&quot; the app yet. But if you run it a few more minutes, Chrome, at least here, is beating Firefox big time. Not sure why it is so different on your system deadlef (cool name btw, LOL), but it might have to do with CPU architecture. The Chrome builds from RobRich are highly optimized for the latest CPUs and use all the latest instructions (AVX512). If you CPU does not support that, the build might be MUCH slower than on modern CPUs (have seen that before).</p><p>On the other hand here is one more interesting find: Microsoft Edge (from latest Windows 10 Insider preview) does beat Chromium slightly here on my machine, didn´t expect that!!</p><p>Anyhow, just use what is the fastest for YOU. The whole point of this post was to make people aware that there can be huge differences between browsers with EA Studio, so test, then use what´s the fastest for you to not waste CPU cycles :-)</p><p>Good luck!</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-27T09:04:28Z</updated>
			<id>https://forexsb.com/forum/post/49833/#p49833</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EA Studio up to 3x faster with Chrome compared to Firefox]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49830/#p49830" />
			<content type="html"><![CDATA[<p>@viniq what the hell. it runs 10 times faster. i use 200000 bars. isnt it better use more bars to get better strats?</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-03-27T08:04:27Z</updated>
			<id>https://forexsb.com/forum/post/49830/#p49830</id>
		</entry>
</feed>
