Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-09-14 03:33:05 +03:00
parent d3c2832f8f
commit 0c1fdf4ca6
2 changed files with 15 additions and 10 deletions

View File

@ -1911,20 +1911,19 @@ module.System = {
// page actions...
//
/* XXX broken...
// XXX broken...
// XXX this does not work as energetic...
// XXX for some reason this is called twice...
time: async function(){
var t = Date.now()
var text = await this.get('../_text').text
var time = Date.now() - t
var t = Date.now()
var text = await this.get('../_text').text
var time = Date.now() - t
console.log('RENDER TIME:', time)
console.log('RENDER TIME:', time)
return object.doc`
Time to render: ${time}ms <br>
<ht>
${text}`},
return object.doc`
Time to render: ${time}ms <br>
<ht>
${text}`},
//*/
// XXX EXPERIMENTAL -- page types...

View File

@ -1,6 +1,12 @@
/**********************************************************************
*
*
* XXX BUG:
* /System/info
* and:
* /System/info/_view
* are not the same...
* ...bug likely in .text
* XXX might also be a good idea to investigate a .tree directory index
* as a supplement to .paths()
* XXX BUG: changing the URL does not start the spinner...