Search API is very slow in Firefox but fast in chrome, IE, safari

Search API is very slow in Firefox but fast in chrome, IE, safari

devilguydevilguy Posts: 2Questions: 1Answers: 0
edited November 2015 in Free community support

Hi everybody, I'm using datatables with 50000 rows. When I try to filter result, the speed on Firefox is very slow but still fast on other browser. Here is sample of my code:

$('#search').on('keyup change', function() {
    $('#myTable').api().search($(this).val()).draw();
});
$('#myTable').dataTable({
        "aaData" : aaData,
        "bAutoWidth" : false,
        "bSort" : false,
        "deferRender" : true,
        "pagingType" : "full_numbers",
        "sDom" : '<"top"lif<"clear">>rt<"bottom"ipl<"clear">>',
        "aoColumns" : myColumnsDef
});

I'm using datatables v1.10.10 and Firefox v42

Answers

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin

    Can you link to a test case showing the issue please.

    Allan

  • devilguydevilguy Posts: 2Questions: 1Answers: 0

    Hi Allan,
    Thanks for your fast response. It's feel so slow, take 10-15s to filter if the number of rows is 50000, still fast if have 2000-5000 rows. Where can I simulate 50000 rows of data? Please give me some guide to do that.

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin

    Can you link to a test case showing the issue so I can debug it and understand what the issue is please.

    Where can I simulate 50000 rows of data

    JSFiddle, CodePen, http://live.datatables.net etc.

    Allan

This discussion has been closed.