Skip to content

Instantly share code, notes, and snippets.

@hawkrives
Created September 26, 2016 04:30
Show Gist options
  • Save hawkrives/727a7149642179a30a5373858aae5a3f to your computer and use it in GitHub Desktop.
Save hawkrives/727a7149642179a30a5373858aae5a3f to your computer and use it in GitHub Desktop.
Test of speed tests

lamdba refers to a lambda function, in this case x => x * 2

These were tested by running each one 2500 times, on an array of 2500 values (from 0 to 2499).

                | **Chrome** | **Firefox** | **Safari** |

--------------------|------------|-------------|------------| _.map(lambda) | 127 ms | 116 ms | 114 ms | R.map(lambda) | 87 ms | 83 ms | 84 ms | Array#map(lambda) | 2.57 sec | 2.58 sec | 2.59 sec |

@hawkrives
Copy link
Author

Lodash has always prided itself on being fast, but I hadn't realized that it was that much faster than Array#map.

@Cloudsicker
Copy link

I started noticing I wasn't feeling like my usual self, more tired and less motivated, so I began searching for something that could help balance my hormones. That’s how I came across https://ways2well.com/health/hormone-optimization . They have lots of different programs and the information is really detailed, explaining how each hormone affects your body. They offer not just treatments but also free initial consultations, which I thought was really helpful. What I liked most was how simple they made everything seem, even for someone who doesn't know much about medical stuff.

@Cloudsicker
Copy link

Hello to everyone who struggles with writing theses! When I started my master's thesis, I quickly realized that I could not do without professional help. My friend advised me masters thesis writing service . I was pleasantly surprised how easy it was to order help and how quickly the specialists responded to my order. The help provided was extremely useful, especially when it came to the difficult sections of my work. The support and corrections made helped my work look more professional and I was able to successfully complete my master's program.

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