javascript - Are there any performance costs of using JSLINQ -
when read question, please not answer "memory cheap" or yada yada.
i wondering; , save me time , i'd grateful, if had timed difference between raw approach querying javascript arrays including memory usage, versus using linq.
an application building getting quite large on memory , yet tool jslinq beneficial me, able scientifically measure pros , cons of performance using jslinq rather brawl through javascript arrays myself save teenytiniest of performance.
if there no responses, of course find out myself, nice little experiment future users.
my javascript object arrays range generating tables of users = , orderby yada yada... doing joins on users profiles. trying find out if it's better return datasets , refine snippets of data javascript, or continuously call server side pages using ajax. regardless of choose, it's performance hit i'm interested in.
jslinq looking tempting because uses familiar technique me, query data... alas, cannot use if adds significant performance loss... imagine, need measured execution time on array sorting , fetching minus time takes ajax calls return responses.
p.s, if not have figures produce, no worries @ all. on next few days experimenting myself, hoping save time... , understand question may be, @ best, quite coarse.
you 1 can answer question.
while can run memory comparisons of specific test "pure" js vs jslinq, comparisons relevant specific data set , jslinq methods being tested. results in specific test may, or likely, won't translate different situation.
if critical part of application, write both ways , compare. write results somewhere benefit others, can't answer question "is jslinq better?" can answer "is jslinq better in specific situation?"
Comments
Post a Comment