Skip to content

Instantly share code, notes, and snippets.

@josemmo
Created March 28, 2018 08:14
Show Gist options
  • Save josemmo/81880cb8e9930ee4099cec7ce61129c0 to your computer and use it in GitHub Desktop.
Save josemmo/81880cb8e9930ee4099cec7ce61129c0 to your computer and use it in GitHub Desktop.
// Número de núcleos de la CPU
var cores = navigator.hardwareConcurrency;
fp_sources.hardware.cores = cores;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment