<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Slow Export]]></title><description><![CDATA[<p>The more templates/folders/etc we add, the slower the export function becomes.  I wouldn't think that exporting a single folder (with maybe 5 items) would get slower as we add other folders and other templates.  There may be some inefficiencies in the export code that need to be reviewed when you guys have some time.  For a small example, I just exported 3 folders (a total of 17 items) and it took it almost 2 full minutes to generate a 34Kb .jsrexport file.  It never used to take this long, but as we have grown the product and number of reports in our system it has continue to get slower and slower.  Another example of why i think it's inefficient is that if i export a single template, it also takes the exact amount of time to export but i end up with a 3Kb file.</p>
]]></description><link>https://forum.jsreport.net/topic/2686/slow-export</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 03:59:51 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2686.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jan 2023 23:53:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>The more templates/folders/etc we add, the slower the export function becomes.  I wouldn't think that exporting a single folder (with maybe 5 items) would get slower as we add other folders and other templates.  There may be some inefficiencies in the export code that need to be reviewed when you guys have some time.  For a small example, I just exported 3 folders (a total of 17 items) and it took it almost 2 full minutes to generate a 34Kb .jsrexport file.  It never used to take this long, but as we have grown the product and number of reports in our system it has continue to get slower and slower.  Another example of why i think it's inefficient is that if i export a single template, it also takes the exact amount of time to export but i end up with a 3Kb file.</p>
]]></description><link>https://forum.jsreport.net/post/11626</link><guid isPermaLink="true">https://forum.jsreport.net/post/11626</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>I forgot to mention that i am on 3.10.0</p>
]]></description><link>https://forum.jsreport.net/post/11627</link><guid isPermaLink="true">https://forum.jsreport.net/post/11627</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<blockquote>
<p>just exported 3 folders (a total of 17 items) and it took it almost 2 full minutes</p>
</blockquote>
<p>That is strange. What template store do you use? I mean what you have in config <code>store.provider</code>.</p>
]]></description><link>https://forum.jsreport.net/post/11628</link><guid isPermaLink="true">https://forum.jsreport.net/post/11628</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>&quot;store&quot;: {<br />
&quot;provider&quot;: &quot;fs&quot;<br />
},</p>
<p>This mounts to a folder that is a EFS mount within AWS which should have no issues with speed.  Just to be sure i checked EFS metrics and you can see 2 small blips which were the 2 exports that i tested with.  This caused a 2% usage of the IO limit.<br />
<img src="/uploads/files/1674692145338-upload-cf549473-840a-40aa-af8b-4494ecb14646-resized.png" alt="0_1674692141291_upload-cf549473-840a-40aa-af8b-4494ecb14646" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.jsreport.net/post/11629</link><guid isPermaLink="true">https://forum.jsreport.net/post/11629</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>What if you try the same export with the same data locally, on your dev machine, with a local disk?</p>
]]></description><link>https://forum.jsreport.net/post/11630</link><guid isPermaLink="true">https://forum.jsreport.net/post/11630</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>I will load a clean instance and export/import the entire structure to something running local and let you know.  Unfortunately i will not be able to get to that until tomorrow morning.  Thank you for the suggestion.  I will let you know the results</p>
]]></description><link>https://forum.jsreport.net/post/11631</link><guid isPermaLink="true">https://forum.jsreport.net/post/11631</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>I was able to do a quick test.  There is definitely something weird with our deployed version that I am going to have to figure out.  Here are the results from running locally</p>
<p>Export all folders and files 13.3 seconds, 11.3MB file with 1403 total items<br />
(same test as before) Export 3 folders 8.696 seconds, 34Kb file, 17 items<br />
(same test as before) Export 1 temlate 8.673 seconds, 2Kb file</p>
<p>There are MANY differences in my test though.  The deployed version is a docker instance and has shared CPU/RAM and is mounted to an EFS instance.  This test was running directly on my laptop with nothing else running.  When running this export from the deployed server i see a spike in CPU and RAM, but only to 30% of allocated CPU and 88% of allocated RAM.  It's possible the RAM is being throttled and it's using disk swap space, but I don't think so</p>
<p>Do you suspect the issue is CPU related, Memory related, or disk related?</p>
]]></description><link>https://forum.jsreport.net/post/11632</link><guid isPermaLink="true">https://forum.jsreport.net/post/11632</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>The fs store keeps data in memory. So it needs just CPU and Memory for export.</p>
<blockquote>
<p>Export 3 folders 8.696 seconds, 34Kb file, 17 items</p>
</blockquote>
<p>This should be ~300ms typically.</p>
<p>Could you try to export the showcase workspace? How long that takes for you?<br />
<a href="https://playground.jsreport.net/w/admin/S3xqZ0Zc" rel="nofollow">https://playground.jsreport.net/w/admin/S3xqZ0Zc</a><br />
For me its 300ms.</p>
]]></description><link>https://forum.jsreport.net/post/11636</link><guid isPermaLink="true">https://forum.jsreport.net/post/11636</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>Yes that is about right...~300ms</p>
<p>What is the backend file store for this?</p>
]]></description><link>https://forum.jsreport.net/post/11639</link><guid isPermaLink="true">https://forum.jsreport.net/post/11639</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>The idea was that you export from the playground, import to your local and try the export there.</p>
<p>The playground uses mongodb as template store, but the fs store should be the fastest anyway.</p>
]]></description><link>https://forum.jsreport.net/post/11640</link><guid isPermaLink="true">https://forum.jsreport.net/post/11640</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Thu, 26 Jan 2023 22:53:47 GMT]]></title><description><![CDATA[<p>ok...sorry i misunderstood.  I took your export, added it to my dev environment (clean setup from <a href="https://jsreport.net/learn/windows" rel="nofollow">https://jsreport.net/learn/windows</a> with 1 change to add the license to the config).  I then added all of my templates from our test server and did the export of your stuff.</p>
<p>When I exported just your items it took almost 11 seconds.   This makes me think that it is doing something disk related to find what it needs and the iteration of the items to get what it needs is causing the slowdown.</p>
<p>When I watch what is happening on my machine in Resource Monitor, i can see that it's processing files on disk and spikes CPU and disk, but doesn't do much at all with memory.</p>
<p>I changed the backend to be PostgreSQL for templates and all of the speed issues have been fixed on the export.</p>
]]></description><link>https://forum.jsreport.net/post/11641</link><guid isPermaLink="true">https://forum.jsreport.net/post/11641</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Thu, 26 Jan 2023 22:53:47 GMT</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>Strange, maybe its some antivirus thing?<br />
I don't see another reason why it should be 30x slower on your machine.<br />
Don't you have authorization enabled?</p>
]]></description><link>https://forum.jsreport.net/post/11653</link><guid isPermaLink="true">https://forum.jsreport.net/post/11653</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Slow Export on Invalid Date]]></title><description><![CDATA[<p>No authorization used.  This is just a clean load using your windows instructions, running locally via powershell to load Node.js.  The only thing i did was to add 1400+ templates to the system before exporting.</p>
]]></description><link>https://forum.jsreport.net/post/11661</link><guid isPermaLink="true">https://forum.jsreport.net/post/11661</guid><dc:creator><![CDATA[zewar96]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>