https://bugzilla.wikimedia.org/show_bug.cgi?id=27528

P.Copp <paul.copper...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8185|0                           |1
        is obsolete|                            |

--- Comment #8 from P.Copp <paul.copper...@gmail.com> 2011-02-24 15:15:26 UTC 
---
Created attachment 8207
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8207
Modified patch: Take html comments into account, cleaned up a bit

So, poking a little bit more at this I fired up a test script that pulls user
scripts from enwiki and checks them against JSLint
<http://www.javascriptlint.com/> for syntax errors, both before and after
minifying.
After I had discovered and fixed an issue with html comments (see modified
patch), I ran the script again and got the results below:


                    | Total | Distiller |    Distiller    |  Minifier
                    |       |           | (stripVertical) |
--------------------+-------+-----------+-----------------+------------
Checked pages       | 39313 |           |                 |
--------------------+-------+-----------+-----------------+------------
Error free pages    | 34623 |           |                 |
--------------------+-------+-----------+-----------------+------------
Pages with syntax   |       |           |                 |
errors after minify |       | 61        |  79             |   0
--------------------+-------+-----------+-----------------+------------
Avg. length (bytes) | 2875  | 2124      |  2085           |   2065
--------------------+-------+-----------+-----------------+------------
Avg. time (ms)      |       | 7.0       |  8.9            |   5.0

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to