Transducers.js Round 2 with Benchmarks
jlongster.com
Transducers.js Round 2 with Benchmarks
1–10 of 22 posts
Re: Transducers.js Round 2 with Benchmarks
#2Re: Transducers.js Round 2 with Benchmarks
#3EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
Re: Transducers.js Round 2 with Benchmarks
#4Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
The graph is correct - the independent variables in this case are the number of items in the array (the x axis) and the library being tested (each line).
The dependent variable in this case is time - which is why it is on the y axis.
Re: Transducers.js Round 2 with Benchmarks
#5Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
Correct. The independent variable being the number of items and the dependent variable being the time it takes to run said number of items.
>> Time should be on the x-axis.
Time should be on the y-axis. It's the time it takes to execute, given a set of items.
Re: Transducers.js Round 2 with Benchmarks
#6I'd be really interested in knowing how it compares against lazy.js: http://danieltao.com/lazy.js/
edit: added lazy.js to the benchmark and transducers.js wins hands down. Lazy also starts way behind _/lodash and only catches up after >50k elements.
Re: Transducers.js Round 2 with Benchmarks
#7Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
>> Independent variables on the x-axis and dependent variables on the y. Correct. The independent variable being the number of items and the dependent variable being the time it takes to run said number of items. >> Time should be on the x-axis. Time should be on the y-axis. It's the time it takes to execute, given a set of items.
Re: Transducers.js Round 2 with Benchmarks
#8Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
> Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. The graph is correct - the independent variables in this case are the number of items in the array (the x axis) and the library being tested (each line). The dependent variable in this case is time - which is why it is on the y axis.
Re: Transducers.js Round 2 with Benchmarks
#9Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
> The graph below shows the time it took to run versus the size of [the array]
Re: Transducers.js Round 2 with Benchmarks
#10Earlier quoted context omitted.
>> Independent variables on the x-axis and dependent variables on the y. Correct. The independent variable being the number of items and the dependent variable being the time it takes to run said number of items. >> Time should be on the x-axis. Time should be on the y-axis. It's the time it takes to execute, given a set of items.
[deleted]