vanadium-archive / browser

Example app: Vanadium namespace browser
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Performance profiling/improvements of the UI #31

Open aghassemi opened 9 years ago

aghassemi commented 9 years ago

We need to know how much data the UI can handle. I propose the following:

  1. We add options to sampled to generate a large namespace. Maybe --bigdata=<num-levels>,<num-first-nodes-children> so --bigdata=5,30 would create a 5 level deep tree with the first node in each level having 30 children. so a total of 5*30=150 nodes. ( I am only giving the first node children otherwise this will turn into a geometric series and would require mounting millions of names without helping out the case anyway).

We should try to support:

  1. Without any slow downs, a --bigdata=10,1000 namespace.
  2. Ideally as second goal we can support `--bigdata=100,100000
  3. and then any arbitrary size.
  4. If option 1) is very slow, we may want to isolate the cause the the slowness as Vanadium vs UI rendering. For this I suggest we mock Vanadium in the app and and never make RPCs and return static data and see if rendering can handle it.