<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Performance decrease after upgrading from 3.7.8.1 to 3.8.0.1]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2097&amp;type=atom" />
	<updated>2023-03-24T09:50:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2097</id>
		<entry>
			<title type="html"><![CDATA[Re: Performance decrease after upgrading from 3.7.8.1 to 3.8.0.1]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8926#p8926" />
			<content type="html"><![CDATA[<p>I stand corrected. I think the slowdown is caused mainly by my own processing that is invoked via the callback. It didn&#039;t show up in the inspector initially. Basically mapbox-streets-v8 returns a lot more POIs than v7 did, and that&#039;s having an impact on my processing times.</p>]]></content>
			<author>
				<name><![CDATA[negruj0w1tsch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1428</uri>
			</author>
			<updated>2023-03-24T09:50:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8926#p8926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Performance decrease after upgrading from 3.7.8.1 to 3.8.0.1]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8924#p8924" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Please show a larger piece of code how you use this.<br />I will check it out.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-03-23T18:52:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8924#p8924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Performance decrease after upgrading from 3.7.8.1 to 3.8.0.1]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8922#p8922" />
			<content type="html"><![CDATA[<p>I think I tracked it down to OnlineMapsMapboxTile.cs and the use of mapbox.mapbox-streets-v8 in the url pattern. When using the old mapbox.mapbox-streets-v7, the stuttering mentioned above does not appear for me. If you have any more insight into why that makes such a difference, that would be greatly appreciated.</p>]]></content>
			<author>
				<name><![CDATA[negruj0w1tsch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1428</uri>
			</author>
			<updated>2023-03-23T14:48:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8922#p8922</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Performance decrease after upgrading from 3.7.8.1 to 3.8.0.1]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8921#p8921" />
			<content type="html"><![CDATA[<p>It seems to be driven by a code that I invoke:</p><p>var mt = new OnlineMapsMapboxTile(tileToFetch.x, tileToFetch.y, zoom, map, false);<br />OnlineMapsTileManager.OnTileLoaded += OnTileLoaded;<br />OnlineMapsTileManager.StartDownloadTile(mt);</p><p>It&#039;s the StartDownloadTile call in particular that seems to be taking longer now. Note that the zoom in the above code is always set to 15 and I am roughly fetching 20-30 of those tiles when the app starts. I only invoke StartDownloadTile for 1 tile at a time and then again when the previous fetch has finished.<br />The profiler reveals the runtim of StartDownloadTile increases from 2-4ms to 30-40ms. More importantly it&#039;s allocating 2MB of GC.Alloc while previously it only allocated ~140kb per invokation.</p>]]></content>
			<author>
				<name><![CDATA[negruj0w1tsch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1428</uri>
			</author>
			<updated>2023-03-23T14:22:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8921#p8921</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Performance decrease after upgrading from 3.7.8.1 to 3.8.0.1]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8920#p8920" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I know this is a very rough title, and I don&#039;t have many details. But ever since upgrading Online Maps my app stutters significantly for the first 5-10 seconds. This didn&#039;t happen in the previous version. I did create 2 builds with different versions of Online Maps as the only change. I wonder if anybody has observed something similar or if this is a known issue. I&#039;m using Mapbox as map provider.</p><p>Regards,</p><p>Jürgen</p>]]></content>
			<author>
				<name><![CDATA[negruj0w1tsch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1428</uri>
			</author>
			<updated>2023-03-23T14:10:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8920#p8920</id>
		</entry>
</feed>
