[tw] Re: homegrown speed test
Closing slash is missing from the view widget in your example, that's why the second list doesn't work. This works: ``` <$list filter="[all[current]]"> 1 <$view field=title/> <$list filter="[]"> 2 <$view field=title/> ``` On Friday, July 10, 2015 at 2:35:02 AM UTC-7, PMario wrote: > > Hi, > I'm not sure, what you try to achieve but it you test this: > > <$list filter="[all[current]]"><$view field=title> > > <$list filter="[]" ><$view field=title> > > imo the second example isn't a valid filter, since it never produces a > list. > > > - > > > If you want to enable speed measuring in your TW, you can enable it like > this: > > open: http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fstartup.js > > at line 20 set > > // Set to `true` to enable performance instrumentation > var PERFORMANCE_INSTRUMENTATION = false; > > to > > // Set to `true` to enable performance instrumentation > var PERFORMANCE_INSTRUMENTATION = true; > > Save and reload the TW. > > The browser console [f12] will show you some performance info. > -m > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/31ed3339-942a-4d7c-bde9-14574539734c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: homegrown speed test
Also, <$list filter="[all[current]tagging[]]">. is about 25% faster than <$list filter="[tag]">. , and {{!!title}} is 10 times faster than <>! Not sure if the time grows linearly, I used 100,000 copies for the latter comparison. —R On Friday, July 10, 2015 at 2:42:54 AM UTC-7, Rustem wrote: I wanted to see which one is faster. They produce the same output. Not sure > why you don't see a list in the second example. I just copied it from your > reply into a new tiddler and it shows "New Tiddler", as expected. > > On Friday, July 10, 2015 at 2:35:02 AM UTC-7, PMario wrote: >> >> Hi, >> I'm not sure, what you try to achieve but it you test this: >> >> <$list filter="[all[current]]"><$view field=title> >> >> <$list filter="[]" ><$view field=title> >> >> imo the second example isn't a valid filter, since it never produces a >> list. >> >> >> - >> >> >> If you want to enable speed measuring in your TW, you can enable it like >> this: >> >> open: http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fstartup.js >> >> at line 20 set >> >> // Set to `true` to enable performance instrumentation >> var PERFORMANCE_INSTRUMENTATION = false; >> >> to >> >> // Set to `true` to enable performance instrumentation >> var PERFORMANCE_INSTRUMENTATION = true; >> >> Save and reload the TW. >> >> The browser console [f12] will show you some performance info. >> -m >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a1ed1486-d4f3-40a9-8e9e-9c7b5ce717f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: homegrown speed test
I wanted to see which one is faster. They produce the same output. Not sure why you don't see a list in the second example. I just copied it from your reply into a new tiddler and it shows "New Tiddler", as expected. On Friday, July 10, 2015 at 2:35:02 AM UTC-7, PMario wrote: > > Hi, > I'm not sure, what you try to achieve but it you test this: > > <$list filter="[all[current]]"><$view field=title> > > <$list filter="[]" ><$view field=title> > > imo the second example isn't a valid filter, since it never produces a > list. > > > - > > > If you want to enable speed measuring in your TW, you can enable it like > this: > > open: http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fstartup.js > > at line 20 set > > // Set to `true` to enable performance instrumentation > var PERFORMANCE_INSTRUMENTATION = false; > > to > > // Set to `true` to enable performance instrumentation > var PERFORMANCE_INSTRUMENTATION = true; > > Save and reload the TW. > > The browser console [f12] will show you some performance info. > -m > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fce8fe27-f365-46ff-9aa2-841802a17e28%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: homegrown speed test
Hi, I'm not sure, what you try to achieve but it you test this: <$list filter="[all[current]]"><$view field=title> <$list filter="[]" ><$view field=title> imo the second example isn't a valid filter, since it never produces a list. - If you want to enable speed measuring in your TW, you can enable it like this: open: http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fstartup.js at line 20 set // Set to `true` to enable performance instrumentation var PERFORMANCE_INSTRUMENTATION = false; to // Set to `true` to enable performance instrumentation var PERFORMANCE_INSTRUMENTATION = true; Save and reload the TW. The browser console [f12] will show you some performance info. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9f467234-e6bf-44c2-a121-553017b6e5d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.