Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.54
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib64 /
python2.7 /
site-packages /
meld3 /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
156
B
-rw-r--r--
__init__.pyc
334
B
-rw-r--r--
__init__.pyo
334
B
-rw-r--r--
clearsilverprofile.py
1.61
KB
-rw-r--r--
clearsilverprofile.pyc
2.13
KB
-rw-r--r--
clearsilverprofile.pyo
2.13
KB
-rw-r--r--
cmeld3.so
15.55
KB
-rwxr-xr-x
example.py
1.51
KB
-rw-r--r--
example.pyc
1.77
KB
-rw-r--r--
example.pyo
1.77
KB
-rw-r--r--
meld3.py
50.48
KB
-rw-r--r--
meld3.pyc
47.78
KB
-rw-r--r--
meld3.pyo
47.78
KB
-rw-r--r--
melddiff.py
620
B
-rw-r--r--
melddiff.pyc
940
B
-rw-r--r--
melddiff.pyo
940
B
-rw-r--r--
meldprofile.py
1.73
KB
-rw-r--r--
meldprofile.pyc
2.18
KB
-rw-r--r--
meldprofile.pyo
2.18
KB
-rw-r--r--
test_getiterator.py
1.21
KB
-rw-r--r--
test_getiterator.pyc
1.93
KB
-rw-r--r--
test_getiterator.pyo
1.93
KB
-rw-r--r--
test_meld3.py
60.62
KB
-rw-r--r--
test_meld3.pyc
62.36
KB
-rw-r--r--
test_meld3.pyo
62.36
KB
-rw-r--r--
testclone.py
1.3
KB
-rw-r--r--
testclone.pyc
1.49
KB
-rw-r--r--
testclone.pyo
1.49
KB
-rw-r--r--
zptprofile.py
1.93
KB
-rw-r--r--
zptprofile.pyc
3.36
KB
-rw-r--r--
zptprofile.pyo
3.36
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : clearsilverprofile.py
import sys import profile as profiler import pstats import neo_cgi # XXX yuck, must import before neo_util even though not used. import neo_util import neo_cs template = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>This is the title</title> <div>This is the head slot</div> </head> <body> <div> <form action="." method="POST"> <table border="0"> <tbody> <?cs each:itemz = values ?><tr class="foo"> <td><?cs var:itemz.0 ?></td> <td><?cs var:itemz.1 ?></td> </tr> <?cs /each ?> </tbody> </table> </form> </div> </body> </html>""" hdf = neo_util.HDF() for i in range(0, 20): hdf.setValue('values.%d.0' % i, str(i)) hdf.setValue('values.%d.1' % i, str(i)) def test(cs): this_cs = cs(hdf) this_cs.parseStr(template) foo = this_cs.render() def profile(num): ## import cProfile ## profiler = cProfile profiler.run("[test(cs) for x in range(0,100)]", 'logfile.dat') stats = pstats.Stats('logfile.dat') stats.strip_dirs() stats.sort_stats('cumulative', 'calls') #stats.sort_stats('calls') stats.print_stats(num) if __name__ == '__main__': cs = neo_cs.CS test(cs) profile(30) import timeit t = timeit.Timer("test(cs)", "from __main__ import test, cs") repeat = 50 number = 50 result = t.repeat(repeat, number) best = min(result) print "%d loops " % repeat usec = best * 1e6 / number msec = usec / 1000 print "best of %d: %.*g msec per loop" % (repeat, 8, msec)
Close