What is benchmarking? It refers to the process of testing the performance of an implementation with respect to an already established one. For example, in the airspace industry we can assume that an F-16 is the benchmark for the fastest plane. Any new design should then compare (benchmark) itself against the performance of an F-16. … Continue reading Benchmarking your JavaScript code
Tag: javascript
Redux+React app starter kit
On my journey to master Redux+React I went on to create a very simple Redux app. Get the code here - https://github.com/arcofdescent/react-starter Some details This repo can be used both as a starter kit for developing Redux+React apps as well as a helpful guide to those wishing to see some simple code (I hope) in … Continue reading Redux+React app starter kit
Organizing A large JavaScript application
As my project lickcreator keeps getting larger, the need to decide upon and implement a good directory structure becomes pretty important. I previously had all my .js files in a common directory called src. Well that's dirty, but its fine if you just have a few files (think less than 7). I'm using Backbone.js so … Continue reading Organizing A large JavaScript application
React with webpack
Today, I'd like to show you how I used the awesome React UI library and the module bundler webpack to build an Android app using Cordova. You can download my app for free! Check it out, especially if you're a guitar player. Lets touch up on webpack briefly. The immediate beauty is the ability for … Continue reading React with webpack
Backbone.js collections, get the next/previous model
I’m using Backbone.js for my project lickcreator. I really love Backbone.js, especially the collections stuff is just awesome. I was looking for an easy way to get to the next model in a collection , but couldn’t find it. Of course, you can iterate over the collection and get to the model you want, but … Continue reading Backbone.js collections, get the next/previous model