Wednesday, April 04

Geek

It's A Wonder It Works At All

I've mentioned that I'm a little disappointed in the performance of Minx, given the  power of the hardware and the amount of time I've spent tweaking it to wring out every drop of performance (given that it's written in Python).

Well.

I was just looking at some numbers.  There are currently 342 top-level tags in Minx, that is, block tags, here tags, and magic tags, tags that select data from the database.  (This doesn't include all the flow-control tags such is [if], [loop], and [include].)  That's not the complete set, just what is supported (or partly supported) at the moment.

The [posts] tag, which selects and displays posts, and which in its simplest form consists of the single statement [posts:here] (that's what I mean by a "here tag"), produces 245 data tags for each post.

So that's where all my milliseconds are going...

Posted by: Pixy Misa at 03:57 AM | Comments (6) | Add Comment | Trackbacks (Suck)
Post contains 148 words, total size 1 kb.

1 In fact, does it work?

Posted by: Pixy Misa at Wednesday, April 04 2007 07:39 PM (PiXy!)

2 Yes.  Well, that bit does, anyway.

Posted by: Pixy Misa at Wednesday, April 04 2007 07:39 PM (PiXy!)

3 Let's see how much the counters slow things down...

Posted by: Pixy Misa at Thursday, April 05 2007 02:31 AM (PiXy!)

4 About 40ms extra.  Hmm.  I guess I'll keep that one mainly for the stats page then.

Posted by: Pixy Misa at Thursday, April 05 2007 02:32 AM (PiXy!)

5 Either that, or add a set of stats records for post counts...

Posted by: Pixy Misa at Thursday, April 05 2007 02:32 AM (PiXy!)

6

Internal links, are twice as recursive, and multiple internal links are just that number of multiply recursive.  You are querying your own program, not server, for validation of the link, and every link was recurssed, and every link that existed within those links were queried, and then every comment following required a validation of the unasociated recurcive internal link.

 

I know what you mean, but it looks like someone is playing bad guy.  Not maliciously, maybe, but like I did when I was a mud wiz way back win.

I used to tell the admin I would break the mud, and exactly how I would.

Most of the time he won (cuz he knew what he was doing) but sometimes I would win.

Truth be told the most damage I did was accidental.

Posted by: Wickedpinto at Wednesday, April 18 2007 02:54 PM (QTv8u)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
48kb generated in CPU 0.0272, elapsed 0.1354 seconds.
56 queries taking 0.1198 seconds, 363 records returned.
Powered by Minx 1.1.6c-pink.