Skip to content

Ilya Sheershoff's blog

IT, PM, DevOps

Tag: javascript

Benchmarking javascript inserting a new element into a sorted array – three approaches

Posted on 2019-03-022019-03-02 by sheershoff
Benchmarking javascript inserting a new element into a sorted array – three approaches

Task: having a sorted array add one value so that the array remains sorted in browser-based JavaScript. Assumption: internal array sort may win to some extent over interpreted search and insert. What I did is implemented all three algorithms and made a post to demonstrate the results of the benchmarking. Tests are run in async…

CategoriesBenchmarks
  • РусскийРусский

Tags

acceptance testing bash benchmarking cache cache-manager codeception debian debugging devops docker docker-compose docker swarm game gist github javascript log management MariaDB MySQL nodejs npm opensource package php plugins scripts security selenium system administration TODO TokuDB ubuntu vk.com web development wordpress yii2

Categories

  • Benchmarks
  • How To
  • Opensource contributions
  • Utilities

Recent Posts

  • Add selenium acceptance tests to codeception with yii2 on docker-compose setup to run seamlessly with test settings
  • Benchmarking javascript inserting a new element into a sorted array – three approaches
  • Intellectualist game rules
  • Find docker swarm host on which a container is running by id or container hostname
  • Run pdftk on Ubuntu 18.04 or later

Recent Comments

  • MM on Custom php.ini to the docker library php using docker-compose config

Archives

  • January 2020
  • March 2019
  • February 2019
  • November 2018
  • January 2018
  • October 2016
  • June 2016
  • July 2015
  • March 2015
  • October 2014
  • September 2014
Proudly powered by WordPress