Re: [Wikitech-l] Update on single-revision deletion

2010-02-27 Thread fl
I would also be interested in the current status of the request.

As many may already be aware, policy has been in place for the 
function's use on en.wp since late November 2009. I for one am very 
eager to have this function deployed, if not on all WMF wikis, to en at 
least.

On Wed, 24 Feb 2010 6:12 pm, Tisza Gergő wrote:
> On Thu, Dec 10, 2009 at 17:52 PM, Andrew Garrett  
> wikimedia.org>
> wrote:
>
>>  Just a note to say that I didn't go ahead with my
>>  planned implementation of revision suppression
>>  for all administrators, because Aaron said that he
>>  would rather that I wait until bug 20928. Once that
>>  is fixed, I will again look into deploying single-revision
>>  deletion for administrators.
>>
>>  
>
> Are there still plans for going forward with this, and if yes, what is 
> the
> status of it? Bug 20928 is marked as fixed and the fix passed code 
> review[1];
> also it seems revision deletion is already enabled on pl[2] and he[3] 
> so it must
> be working reasonably well. On the other hand bug 21279 is still 
> open[4] and it
> sounds serious.
>
> If the concerns in bug 21279 are not valid any more, it would be really 
> nice if
> revision deletion could be enabled at least on the wikis which 
> specifically
> asked for it (ja[5], de[6], simple[7], hu[8], en[9]).
>
> [1] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/59949
> [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=20331
> [3] https://bugzilla.wikimedia.org/show_bug.cgi?id=20926
> [4] https://bugzilla.wikimedia.org/show_bug.cgi?id=21279
> [5] https://bugzilla.wikimedia.org/show_bug.cgi?id=7126
> [6] https://bugzilla.wikimedia.org/show_bug.cgi?id=19697
> [7] https://bugzilla.wikimedia.org/show_bug.cgi?id=19819
> [8] https://bugzilla.wikimedia.org/show_bug.cgi?id=20947
> [9] https://bugzilla.wikimedia.org/show_bug.cgi?id=21165

--
fl
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] hiphop! :)

2010-02-27 Thread Thomas Dalton
On 27 February 2010 16:41, David Gerard  wrote:
> (I'm sure the complexity of templates will go up to compensate, unless
> Tim's parser functions reaper is set down to match, muwahaha.)

Speeding up parsing will reveal a new bottleneck for the devs to fight
the enwiki community over, don't worry about that.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hiphop! :)

2010-02-27 Thread David Gerard
On 28 February 2010 00:30, Roan Kattouw  wrote:
> 2010/2/27 David Gerard :

>> The parser typically takes 2-10 seconds on an uncached en:wp page, so
>> speeding that process up 1000x is, um, HOLY CRAP!

> You're comparing apples with oranges. Domas was testing a simple API
> page info query, which is much more lightweight than a full-blown
> parse involving enwiki's crazy templates.


So I saw from Domas's followup :-)

Nevertheless - a process isn't the same process when it's going at 10x
the speed. This'll be interesting.

(I'm sure the complexity of templates will go up to compensate, unless
Tim's parser functions reaper is set down to match, muwahaha.)


- d.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hiphop! :)

2010-02-27 Thread Roan Kattouw
2010/2/27 David Gerard :
> The parser typically takes 2-10 seconds on an uncached en:wp page, so
> speeding that process up 1000x is, um, HOLY CRAP!
>
You're comparing apples with oranges. Domas was testing a simple API
page info query, which is much more lightweight than a full-blown
parse involving enwiki's crazy templates.

Roan Kattouw (Catrope)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hiphop! :)

2010-02-27 Thread Domas Mituzas
Hi!

> For those of us not familiar with MediaWiki benchmarking, what kind of
> times were you getting without hiphop?

Zend: 

> Domas, how much hacking did you have to do to MediaWiki to get it to
> compile in Hiphop?

Lots. I'm trying to get basic functionality/prototypes work.
Some changes had to be done to HipHop itself, some had to be done to generated 
code, some had to be done to MediaWiki. 

MediaWiki's "run wherever I can" dynamic adaptation to any environment isn't 
too helpful sometimes...

Domas


P.S. Zend: 

Concurrency Level:  1
Time taken for tests:   1.444158 seconds
Complete requests:  100
Failed requests:0
Write errors:   0
Total transferred:  138020 bytes
HTML transferred:   109600 bytes
Requests per second:69.24 [#/sec] (mean)
Time per request:   14.442 [ms] (mean)
Time per request:   14.442 [ms] (mean, across all concurrent requests)
Transfer rate:  92.79 [Kbytes/sec] received

Connection Times (ms)
  min  mean[+/-sd] median   max
Connect:00   0.0  0   0
Processing:14   14   0.0 14  14
Waiting:   10   12   1.7 14  14
Total: 14   14   0.0 14  14
WARNING: The median and mean for the waiting time are not within a normal 
deviation
These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50% 14
  66% 14
  75% 14
  80% 14
  90% 14
  95% 14
  98% 14
  99% 14
 100% 14 (longest request)


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hiphop! :)

2010-02-27 Thread David Gerard
On 27 February 2010 19:58, Thomas Dalton  wrote:

> For those of us not familiar with MediaWiki benchmarking, what kind of
> times were you getting without hiphop?


The parser typically takes 2-10 seconds on an uncached en:wp page, so
speeding that process up 1000x is, um, HOLY CRAP!

(Hosting providers sell network bandwidth and disk space; I can see
them putting resources into Hiphopifying the common PHP crapware just
to use 1/1000 the CPU.)

Domas, how much hacking did you have to do to MediaWiki to get it to
compile in Hiphop?


- d.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hiphop! :)

2010-02-27 Thread Thomas Dalton
For those of us not familiar with MediaWiki benchmarking, what kind of
times were you getting without hiphop?

On 27 February 2010 11:37, Domas Mituzas  wrote:
> 
>
> r...@flack:/hiphop/web/phase3/includes# ab -n 100 -c 1 
> 'http://dom.as:8085/phase3/api.php?action=query&prop=info&titles=Main%20Page'
> This is ApacheBench, Version 2.3 <$Revision: 655654 $>
> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
> Licensed to The Apache Software Foundation, http://www.apache.org/
>
> Benchmarking dom.as (be patient).done
>
>
> Server Software:
> Server Hostname:        dom.as
> Server Port:            8085
>
> Document Path:          
> /phase3/api.php?action=query&prop=info&titles=Main%20Page
> Document Length:        991 bytes
>
> Concurrency Level:      1
> Time taken for tests:   0.389 seconds
> Complete requests:      100
> Failed requests:        0
> Write errors:           0
> Total transferred:      116600 bytes
> HTML transferred:       99100 bytes
> Requests per second:    256.87 [#/sec] (mean)
> Time per request:       3.893 [ms] (mean)
> Time per request:       3.893 [ms] (mean, across all concurrent requests)
> Transfer rate:          292.49 [Kbytes/sec] received
>
> Connection Times (ms)
>              min  mean[+/-sd] median   max
> Connect:        0    0   0.0      0       0
> Processing:     3    4   0.2      4       4
> Waiting:        2    4   0.4      4       4
> Total:          3    4   0.2      4       4
>
> Percentage of the requests served within a certain time (ms)
>  50%      4
>  66%      4
>  75%      4
>  80%      4
>  90%      4
>  95%      4
>  98%      4
>  99%      4
>  100%      4 (longest request)
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] hiphop! :)

2010-02-27 Thread Domas Mituzas


r...@flack:/hiphop/web/phase3/includes# ab -n 100 -c 1 
'http://dom.as:8085/phase3/api.php?action=query&prop=info&titles=Main%20Page'
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking dom.as (be patient).done


Server Software:
Server Hostname:dom.as
Server Port:8085

Document Path:  
/phase3/api.php?action=query&prop=info&titles=Main%20Page
Document Length:991 bytes

Concurrency Level:  1
Time taken for tests:   0.389 seconds
Complete requests:  100
Failed requests:0
Write errors:   0
Total transferred:  116600 bytes
HTML transferred:   99100 bytes
Requests per second:256.87 [#/sec] (mean)
Time per request:   3.893 [ms] (mean)
Time per request:   3.893 [ms] (mean, across all concurrent requests)
Transfer rate:  292.49 [Kbytes/sec] received

Connection Times (ms)
  min  mean[+/-sd] median   max
Connect:00   0.0  0   0
Processing: 34   0.2  4   4
Waiting:24   0.4  4   4
Total:  34   0.2  4   4

Percentage of the requests served within a certain time (ms)
  50%  4
  66%  4
  75%  4
  80%  4
  90%  4
  95%  4
  98%  4
  99%  4
 100%  4 (longest request)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l