Skip to content

Measures your cache_size in javascript!

License

Notifications You must be signed in to change notification settings

lgeek/cache_size

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Cache Size Measurement

In this repo is a simple script to measure the size of a CPU cache with javascript. It requires WebWorkers and ArrayBuffers, although could probably be adapted to not require either.

There really isn't that much special going on. Read cache_size_worker.js to get an idea of how the measurement is taking place - it is extensively commented. You can see a live demo here: https://fromwhenceitca.me/cache_size/cache_size.html

Licensed under the MIT license (see LICENSE file).

About

Measures your cache_size in javascript!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.8%
  • C 17.1%
  • HTML 6.2%
  • Makefile 0.9%