Fast and simple product filter for webshops

This small program (200 lines) is a proof of concept. It reads an aggregated product file (in CSV format) and selects the checked categories. The program is a test on how fast this compares to Magento (answer: much faster).

Every product has 10 filters with 10 (random) filter values.

Results (max. 70 shown)

SeqProduct ID Brand Type Size Package Size Health Package Type Composition Seasons Offers Shape
1125102824340
228230112011
333261810330
4420260631301
5518211705311
6615342906231
77242301215220
885241352321
997042451211
1010241601213000
1111102401216100
1212140521135010
131311011025330
14147120911341
1515100301044230
1616240601002141
1717323411345011
181822001513100
191932051535230
202033162910241
212115031755320
222250621357320
232335321417310
242430340645100
25251240550221
262631021131111
272711040450250
28287100443151
292925101744241
30305202127300
313132340032131
323234142953331
333320012426340
3434232521335301
353535340911141
363635162444151
3737123311324110
383815261422010
393927100740011
40403022817220
414113242736010
424223131327301
434321020341140
44449152540111
454533251411200
464616101356241
474716021956220
484828032233000
494918031033301
505012252406101
515133061514000
5252271211120230
535313241351201
545416060833310
55559212607320
565624030055311
575730331746351
585830131254320
595920231851340
6060283421220320
61617221301311
626219131355200
636332140912301
646415251212010
656514000325151
666627102437251
676728351652330
6868191401027310
6969272421152021

Total hits: 21999 (max. 70 shown)

Products scanned: 22000 in 0.03 seconds

Filename: products-id.csv (829199 bytes)

Filters

Brand

Type

Size

Package_Size

Health

Package_Type

Composition

Seasons

Offers

Shape

Page generated in 0.0312 seconds