<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 9/6/23 12:54, Jan Ceuleers wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b52454f4-fd80-e6a4-76cf-1e0b4ce773aa@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">On 03/09/2023 23:08, Peter Bennett
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:83e2d37e-130b-ad94-45e3-adc4fa03ba0d@gmail.com">Thanks
for testing this. I have about 1500 videos (on hard drive) and
it takes between 1 and 2 seconds. With 5500 videos I would
expect no more than 7 seconds. <br>
</blockquote>
<p>I just timed it again: it took 50 seconds.<br>
</p>
<blockquote type="cite"
cite="mid:83e2d37e-130b-ad94-45e3-adc4fa03ba0d@gmail.com">I can
investigate using a lazy load for videos. That may conflict with
the directory listing scheme I have, where directories are
listed and you can drill down. <br>
<br>
Do you use directories? <br>
</blockquote>
<p>I do use directories, yes. Lots of them:</p>
<ul>
<li>The top level is alphabetic in groups (0-9, A-B, C-D, E-F,
G-H, I-J, K-L, M, N-O-P-Q, R-S, T, U-V-W-X-Y-Z). So 12
directories at the top level.</li>
<li>The above directories contain movies, but also
subdirectories (for TV box sets).</li>
<li>The TV box set directories can contain subdirectories for
each season. Single-season series don't have these
subdirectories.<br>
</li>
</ul>
<blockquote type="cite"
cite="mid:83e2d37e-130b-ad94-45e3-adc4fa03ba0d@gmail.com">When
it takes a long time, how many rows are reported (at the top
level each direcory is a row)? <br>
</blockquote>
Not sure what you're asking. Is there an incantation I should run
to produce the answer?<br>
<blockquote type="cite"
cite="mid:83e2d37e-130b-ad94-45e3-adc4fa03ba0d@gmail.com"> <br>
Does clicking on a directory to see its contents also take a
long time? <br>
</blockquote>
No, that is instant.<br>
<blockquote type="cite"
cite="mid:83e2d37e-130b-ad94-45e3-adc4fa03ba0d@gmail.com"> <br>
Does clicking back on Videos at the top after looking at a
subdirectory also take a long time? <br>
</blockquote>
<p>No.</p>
<p>Many thanks, Jan<br>
</p>
<br>
</blockquote>
<p>Please try this, to see if the slowdown is on the backend:<br>
curl <a class="moz-txt-link-rfc2396E"
href="http://localhost:6544/Video/GetVideoList?Sort=FileName">"http://localhost:6544/Video/GetVideoList?Sort=FileName"</a>
>/dev/null</p>
<p>On my laptop it reports time spent 0:00:01 with over 7000 videos
in my database.</p>
<p>If you are running your browser on a different computer from the
backend, then try from that computer:<br>
curl <a class="moz-txt-link-rfc2396E"
href="http://backend:6544/Video/GetVideoList?Sort=FileName">"http://backend:6544/Video/GetVideoList?Sort=FileName"</a>
>/dev/null</p>
<p>Look at the Time Spent. This will tell if it is a slowdown in the
network.</p>
<p>Peter</p>
<p></p>
<p><br>
</p>
</body>
</html>