« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/pickers2.js6
-rw-r--r--todo.txt1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/pickers2.js b/src/pickers2.js
index 45afdb5..637dcf1 100644
--- a/src/pickers2.js
+++ b/src/pickers2.js
@@ -379,12 +379,12 @@ if (require.main === module) {
     playlist3.items.push({i})
   }
 
-  console.log('speedtest shuffle-tracks on 50000 items')
+  console.log('speedtest shuffle-tracks on 10000 items')
 
   const hc_sp = new HistoryController(playlist3, generalPicker, {sort: 'shuffle-tracks', loop: 'loop'})
   hc_sp.timelineFillSize = playlist3.items.length
 
-  console.time('speedtest50k')
+  console.time('speedtest10k')
   hc_sp.fillTimeline()
-  console.timeEnd('speedtest50k')
+  console.timeEnd('speedtest10k')
 }
diff --git a/todo.txt b/todo.txt
index 65c2281..2c00385 100644
--- a/todo.txt
+++ b/todo.txt
@@ -334,6 +334,7 @@ TODO: A way to export the "timeline" playlist (though we'll need a better
 
 TODO: I'm really, really bad at seeding randomness. Aaaaaa. Aaaaaaa. Aaa.
       AAAAAAA. (Fix the code. Unless it's working right already. Hmm.)
+      (Done!)
 
 TODO: Now that we're using seeded randomness, generating the entire timeline
       every time we want to call the picker is definitely really slow. There