Skip to content

Patch 2026.05.2#2140

Open
freearhey wants to merge 32 commits into
mainfrom
patch-2026.05.2
Open

Patch 2026.05.2#2140
freearhey wants to merge 32 commits into
mainfrom
patch-2026.05.2

Conversation

@freearhey
Copy link
Copy Markdown
Contributor

@freearhey freearhey commented May 19, 2026

The main goal of this update is to speed up the loading of the home page and the search results.

https://iptv-org.github.io/ (10 sec => 4 sec)
https://iptv-org.github.io/?q=abc (9 sec => 4 sec)
https://iptv-org.github.io?q=category:education (8 sec => 4 sec)

npm test

> test
> vitest run

 ✓ tests/commands/data/compile.test.ts (1 test) 1245ms
   ✓ compile (1)
     ✓ it can compile valid output  1239ms

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Duration  3.04s (transform 339ms, setup 0ms, import 1.36s, tests 1.24s, environment 2ms)

To test this version of the code locally, run the following commands:

npm install
npm run preview

This comment was marked as resolved.

This comment was marked as resolved.

@freearhey freearhey marked this pull request as ready for review May 19, 2026 21:45
@BellezaEmporium
Copy link
Copy Markdown
Contributor

Sounds like a massive refactor. Give me some time to properly check.

Comment thread package.json Outdated
@BellezaEmporium
Copy link
Copy Markdown
Contributor

Is it supposed to take this long for saving the files ?

Comment thread src/commands/data/compile.ts Outdated
Comment thread src/commands/data/compile.ts Outdated
@freearhey
Copy link
Copy Markdown
Contributor Author

Updated.

@BellezaEmporium
Copy link
Copy Markdown
Contributor

BellezaEmporium commented May 21, 2026

loading api data...
compiling...
saving...
vite v8.0.13 building ssr environment for production...
[PLUGIN_TIMINGS] Your build spent significant time in plugin `vite:css`. See https://rolldown.rs/options/checks#plugintimings for more details.

[PLUGIN_TIMINGS] Your build spent significant time in plugin `vite:css`. See https://rolldown.rs/options/checks#plugintimings for more details.
 (x2)
✓ 334 modules transformed.
vite v8.0.13 building client environment for production...
[PLUGIN_TIMINGS] Your build spent significant time in plugin `vite:worker`. See https://rolldown.rs/options/checks#plugintimings for more details.

[PLUGIN_TIMINGS] Your build spent significant time in plugin `vite:worker`. See https://rolldown.rs/options/checks#plugintimings for more details.
 (x2)
✓ 366 modules transformed.
computing gzip size...
.svelte-kit/output/client/_app/version.json                                         0.02 kB │ gzip:  0.04 kB
.svelte-kit/output/client/.vite/manifest.json                                       3.10 kB │ gzip:  0.57 kB
.svelte-kit/output/client/_app/immutable/workers/downloadMode.worker-QReNM7qs.js   34.57 kB
.svelte-kit/output/client/_app/immutable/workers/search.worker-BsDl0fL8.js         36.88 kB
.svelte-kit/output/client/_app/immutable/assets/components.C6I59a67.css             3.63 kB │ gzip:  1.26 kB
.svelte-kit/output/client/_app/immutable/assets/0.DP8UDEBF.css                     28.16 kB │ gzip:  6.00 kB
.svelte-kit/output/client/_app/immutable/chunks/DEDqjojZ.js                         0.06 kB │ gzip:  0.08 kB
.svelte-kit/output/client/_app/immutable/entry/start.CYqCkVnJ.js                    0.08 kB │ gzip:  0.09 kB
.svelte-kit/output/client/_app/immutable/nodes/1.D4lGag-x.js                        0.37 kB │ gzip:  0.26 kB
.svelte-kit/output/client/_app/immutable/chunks/DLURcLox.js                         0.76 kB │ gzip:  0.33 kB
.svelte-kit/output/client/_app/immutable/nodes/0.CczmaOkC.js                        0.99 kB │ gzip:  0.58 kB
.svelte-kit/output/client/_app/immutable/nodes/3.BNQKa5nz.js                        1.17 kB │ gzip:  0.71 kB
.svelte-kit/output/client/_app/immutable/entry/app.N-zRxskm.js                      2.93 kB │ gzip:  1.32 kB
.svelte-kit/output/client/_app/immutable/nodes/2.Qg29SQbi.js                        3.84 kB │ gzip:  2.02 kB
.svelte-kit/output/client/_app/immutable/chunks/ByBMmztB.js                        32.59 kB │ gzip: 12.45 kB
.svelte-kit/output/client/_app/immutable/chunks/Ctzjy-cG.js                        62.52 kB │ gzip: 24.00 kB
.svelte-kit/output/client/_app/immutable/chunks/CUBHShuf.js                       173.39 kB │ gzip: 58.03 kB

[PLUGIN_TIMINGS] Your build spent significant time in plugins. Here is a breakdown:
  - vite-plugin-sveltekit-guard (86%)
  - vite:prepare-out-dir (12%)
See https://rolldown.rs/options/checks#plugintimings for more details.

Going to check since I have rather long builds.

@BellezaEmporium
Copy link
Copy Markdown
Contributor

BellezaEmporium commented May 21, 2026

The "logos edit" link is broken, since the Logos Edit template was removed from iptv-org/database.

image

@freearhey
Copy link
Copy Markdown
Contributor Author

Fixed in iptv-org/database#27923

@BellezaEmporium
Copy link
Copy Markdown
Contributor

BellezaEmporium commented May 23, 2026

One last remark and the rest LGTM.

I find the "era" system to be a bit confusing at some points. Here's an example :

image

Getting the data from "Cine+ Premier" will provide the direct analogy with OCS. But when we click at OCS :

image

It pops the "OCS Pulp" channel. It's "surprising" to say the least.

Same thing for "OCS Pulp".

image

Having channels pop and appear without further warning could confuse people in my opinion. I do not know what you think, but I know that's probably one of the most complex cases of channel fusions we might see.

Popping @StrangeDrVN because I know that user talked about that specific spot here, having a bit of a general idea.

I know from a channel POV that this information is accurate, but maybe popping all channels up in rows like you did with a disclaimer stating "This channel has no relevancy with the latter, but is part of the channel's current state" could be interesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants