python/nondist/sandbox/parrotbench b.py, 1.5, 1.6 b0.py, 1.6, 1.7 b1.py, 1.2, 1.3 b2.py, 1.1, 1.2 b3.py, 1.2, 1.3 b4.py, 1.1, 1.2 out, 1.2, 1.3

Update of /cvsroot/python/python/nondist/sandbox/parrotbench In directory sc8-pr-cvs1:/tmp/cvs-serv10974 Modified Files: b.py b0.py b1.py b2.py b3.py b4.py out Log Message: Give all module a main(), and repeat twice in b.main(). Had to fix some details of OutputFile. Index: b.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/b.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** b.py 31 Dec 2003 07:54:58 -0000 1.5 --- b.py 31 Dec 2003 09:04:57 -0000 1.6 *************** *** 1,7 **** ! import b0; b0.main() import b1 import b2 import b3 import b4 ! import b5; b5.main() ! import b6; b6.main() --- 1,25 ---- ! import b0 import b1 import b2 import b3 import b4 ! import b5 ! import b6 ! ! for i in range(2): ! print "--> iteration", i ! print "--> b0" ! b0.main() ! print "--> b1" ! b1.main() ! print "--> b2" ! b2.main() ! print "--> b3" ! b3.main() ! print "--> b4" ! b4.main() ! print "--> b5" ! b5.main() ! print "--> b6" ! b6.main() ! print "--> All done." Index: b0.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/b0.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** b0.py 31 Dec 2003 06:59:41 -0000 1.6 --- b0.py 31 Dec 2003 09:04:58 -0000 1.7 *************** *** 716,720 **** class OutputFile(object): ! data = [] def write(self, s): self.data.append(s) --- 716,723 ---- class OutputFile(object): ! def __init__(self): ! self.data = [] ! self.softspace = True ! reset = __init__ def write(self, s): self.data.append(s) *************** *** 762,767 **** strhash = myhash - OutputFile.softspace = True - indent = "" --- 765,768 ---- *************** *** 769,773 **** cname = cls.__name__ + '.' for name in cls.__dict__: ! descr = getattr(cls, name) if hasattr(descr, '__get__'): setattr(cls, name, instrumentDescriptor(cname+name, descr)) --- 770,776 ---- cname = cls.__name__ + '.' for name in cls.__dict__: ! if name == '__dict__': ! continue ! descr = cls.__dict__[name] if hasattr(descr, '__get__'): setattr(cls, name, instrumentDescriptor(cname+name, descr)) *************** *** 830,833 **** --- 833,838 ---- def main(): + output.reset() + s = Scanner(getcFromString(sample).next) it = Clone(s.tokenize()) *************** *** 841,848 **** scanner = Scanner(getcFromString(sample).next).tokenize() parser = Parser(scanner) - root = parser.parse() - - scanner = Scanner(getcFromString(sample).next).tokenize() - parser = Parser(scanner) instrumentClass(Parser) root = parser.parse() --- 846,849 ---- *************** *** 922,924 **** if __name__ == '__main__': main() - --- 923,924 ---- Index: b1.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/b1.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** b1.py 31 Dec 2003 07:57:51 -0000 1.2 --- b1.py 31 Dec 2003 09:04:58 -0000 1.3 *************** *** 5,9 **** pass return n ! print depth0(0) >= 997 def depth1(n, pea): p = (pea, pea) --- 5,9 ---- pass return n ! def depth1(n, pea): p = (pea, pea) *************** *** 15,31 **** pass return n, p ! pea = [] ! base, p = depth1(0, pea) ! print base >= 997 ! pea.append(p) ! while p[1] is not pea: ! q = p[1] ! n = 0 ! while p[1] is q: ! n += 1 ! p = p[0] ! if n != base+1: ! raise RuntimeError, (n, base) ! base -= 1 ! print base ! del pea[:] --- 15,37 ---- pass return n, p ! ! def main(): ! print depth0(0) >= 997 ! pea = [] ! base, p = depth1(0, pea) ! print base >= 997 ! pea.append(p) ! while p[1] is not pea: ! q = p[1] ! n = 0 ! while p[1] is q: ! n += 1 ! p = p[0] ! if n != base+1: ! raise RuntimeError, (n, base) ! base -= 1 ! print base ! del pea[:] ! ! if __name__ == '__main__': ! main() Index: b2.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/b2.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** b2.py 30 Dec 2003 06:12:57 -0000 1.1 --- b2.py 31 Dec 2003 09:04:58 -0000 1.2 *************** *** 3,6 **** --- 3,7 ---- while 1: yield tuple([x.next() for x in args]) + class PI(object): def __iter__(self): *************** *** 15,19 **** d, d1 = a//b, a1//b1 self.a1 = a1 ! pi = PI() tests = { 99: 44251238236192885942548145627920559612834490019477028496725657079267312460031559302172150714110203307954379217477379106929168768496503354540899921113305213841256909892518928098307564463751633347248940009920269109969147590732355948788056064000000000000000000000000000000000, --- 16,20 ---- d, d1 = a//b, a1//b1 self.a1 = a1 ! tests = { 99: 44251238236192885942548145627920559612834490019477028496725657079267312460031559302172150714110203307954379217477379106929168768496503354540899921113305213841256909892518928098307564463751633347248940009920269109969147590732355948788056064000000000000000000000000000000000, *************** *** 28,36 **** 999: 51421204237426754719741262879558095745353570680465295990005607280393992759309313043417054432903002299144227267946681775379682646481441184984878051192262603785286501319910886769028368118572705415132969475266997058807303812945930068988142620857043364738252015410062109557537048105374131205551289070131067641702104206291269602159585410011716588325959509072295414578340882094129449369050539722183971427768493446582776526148926808216744196972229231300146452844798957170562743924910341252019551586744505512178746646209409281714276837540692337365091849265903691838950705920069247812720998641002393637705464518833183499641523989489319666798606026274099063316447636791376824977802426300098229217109293397613448627314578264206176863819689114000733923661247770659874248361262500335796860850821012664671771458632988533081782215409765802283312397639531087374886914931818336434018365581917786263986184421404682182700668580256406614910005588986105283922797115795753457032007852784163484117726758402807095937775274740959221797164713537199602017041055883470864790221601914448307560964005337053911966953966628791679568034533608103498461484413180826592737887173295962464948084846329227317763485710127958570474521805846289864427724437000806760496738191498562549124089519328261857651962598014067174275024135581089311586662613800674556590447284302589227994020980213920576606410812288774224985213146245744417408945081781113854100049114396677026962371599785096891808223814416164195820685147641538762223075545475947323585115274444998974587593729824337921226549035616388426184445157848256274480718496342976431693624096685162227580762036981450014151173230060384257039659147964264276717849828738171682245892581306830589179887337090011464839646134568754370139845055418256890860940757057604372114023858733686778293659768364688584313980891657494820666567128494973417651689810011217228920255038016092697827501659126864128552793815957798765294279442644144781212010235659076921083028766195306983520086051010702064687047067852692614939864275238659313772070485512507854113183292498557795177864634776519676116960767383666934404120846954899842398644565635321658409635828642860494805612307530127024621301271374503453503593598678825472356837105710187840164939100381680149781533530971702548427150353351891790289793371198307811983920633373141553344786366833632629827394060040022660478432725820719166178073536817127815814516804684768909331366393380845665808090480804683597798069345611863676423593435458367296114919445047864192204991424873907600867560652360433332333460605503950202643081773051851931329700798978585023149558510051756813823934151345468518744914658396602698567997395883907886162856223081161171378840724659535879555133476804981500946142310178618715717330537589699297655080875880600325195469690780842623951417080052370551017667164713224427292680078173002890766115232008277162207593058978389851005689429106305813929315214127108126116277803514751388254341941007906487414087391653272683247248144900228323654135725469516828248483753155121402474188091072172874050555155865413230544137360090574915682856355897339880759959552597891337880610141176123727002295219377091215365686168970240859719317085650982416219558886127398895904298964883158265272486775477666044730446436805318892171895199489563024683292416174451463979862792856107202456073408125335089494339729358670332578718476101211422277469149701783270075855888742583964446418851379385457754248170422546014640203546645610651326807707725840711263654208439193695249007802516372736393165515067274768773964565908592407847748333876331474804846330009526035593873778287836699826905094860721603742076784651700242126831347444508393439010605679605183038164877451729777036414156800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, } ! checks = {} ! for x, y in izip(xrange(1000), pi): ! print y, ! if x in tests: ! checks[x] = pi.a1 ! if tests != checks: ! raise RuntimeError --- 29,43 ---- 999: 51421204237426754719741262879558095745353570680465295990005607280393992759309313043417054432903002299144227267946681775379682646481441184984878051192262603785286501319910886769028368118572705415132969475266997058807303812945930068988142620857043364738252015410062109557537048105374131205551289070131067641702104206291269602159585410011716588325959509072295414578340882094129449369050539722183971427768493446582776526148926808216744196972229231300146452844798957170562743924910341252019551586744505512178746646209409281714276837540692337365091849265903691838950705920069247812720998641002393637705464518833183499641523989489319666798606026274099063316447636791376824977802426300098229217109293397613448627314578264206176863819689114000733923661247770659874248361262500335796860850821012664671771458632988533081782215409765802283312397639531087374886914931818336434018365581917786263986184421404682182700668580256406614910005588986105283922797115795753457032007852784163484117726758402807095937775274740959221797164713537199602017041055883470864790221601914448307560964005337053911966953966628791679568034533608103498461484413180826592737887173295962464948084846329227317763485710127958570474521805846289864427724437000806760496738191498562549124089519328261857651962598014067174275024135581089311586662613800674556590447284302589227994020980213920576606410812288774224985213146245744417408945081781113854100049114396677026962371599785096891808223814416164195820685147641538762223075545475947323585115274444998974587593729824337921226549035616388426184445157848256274480718496342976431693624096685162227580762036981450014151173230060384257039659147964264276717849828738171682245892581306830589179887337090011464839646134568754370139845055418256890860940757057604372114023858733686778293659768364688584313980891657494820666567128494973417651689810011217228920255038016092697827501659126864128552793815957798765294279442644144781212010235659076921083028766195306983520086051010702064687047067852692614939864275238659313772070485512507854113183292498557795177864634776519676116960767383666934404120846954899842398644565635321658409635828642860494805612307530127024621301271374503453503593598678825472356837105710187840164939100381680149781533530971702548427150353351891790289793371198307811983920633373141553344786366833632629827394060040022660478432725820719166178073536817127815814516804684768909331366393380845665808090480804683597798069345611863676423593435458367296114919445047864192204991424873907600867560652360433332333460605503950202643081773051851931329700798978585023149558510051756813823934151345468518744914658396602698567997395883907886162856223081161171378840724659535879555133476804981500946142310178618715717330537589699297655080875880600325195469690780842623951417080052370551017667164713224427292680078173002890766115232008277162207593058978389851005689429106305813929315214127108126116277803514751388254341941007906487414087391653272683247248144900228323654135725469516828248483753155121402474188091072172874050555155865413230544137360090574915682856355897339880759959552597891337880610141176123727002295219377091215365686168970240859719317085650982416219558886127398895904298964883158265272486775477666044730446436805318892171895199489563024683292416174451463979862792856107202456073408125335089494339729358670332578718476101211422277469149701783270075855888742583964446418851379385457754248170422546014640203546645610651326807707725840711263654208439193695249007802516372736393165515067274768773964565908592407847748333876331474804846330009526035593873778287836699826905094860721603742076784651700242126831347444508393439010605679605183038164877451729777036414156800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, } ! ! def main(): ! pi = PI() ! checks = {} ! for x, y in izip(xrange(1000), pi): ! print y, ! if x in tests: ! checks[x] = pi.a1 ! if tests != checks: ! raise RuntimeError ! ! if __name__ == '__main__': ! main() Index: b3.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/b3.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** b3.py 31 Dec 2003 00:12:12 -0000 1.2 --- b3.py 31 Dec 2003 09:04:58 -0000 1.3 *************** *** 78,80 **** sortum(data) ! main() --- 78,81 ---- sortum(data) ! if __name__ == '__main__': ! main() Index: b4.py =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/b4.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** b4.py 31 Dec 2003 01:33:07 -0000 1.1 --- b4.py 31 Dec 2003 09:04:58 -0000 1.2 *************** *** 59,78 **** ''' ! from b0 import Parser, Scanner, getcFromString, eval, instrumentTree, Node ! scanner = Scanner(getcFromString(sample).next).tokenize() ! parser = Parser(scanner) ! root = parser.parse() ! instrumentTree(Node) ! env = {} ! eval(root, env, env) ! heappush = env['heappush'] ! heappop = env['heappop'] ! # Simple sanity test ! heap = [] ! data = [1, 3, 5, 7, 9, 2, 4, 6, 8, 0] ! for item in data: ! heappush(heap, item) ! sort = [] ! while heap: ! sort.append(heappop(heap)) ! print sort --- 59,87 ---- ''' ! from b0 import Parser, Scanner, getcFromString, Node, eval ! from b0 import instrumentTree, unInstrumentTree, output, checkoutput ! ! def main(): ! output.reset() ! scanner = Scanner(getcFromString(sample).next).tokenize() ! parser = Parser(scanner) ! root = parser.parse() ! instrumentTree(Node) ! env = {} ! eval(root, env, env) ! heappush = env['heappush'] ! heappop = env['heappop'] ! # Simple sanity test ! heap = [] ! data = [1, 3, 5, 7, 9, 2, 4, 6, 8, 0] ! for item in data: ! heappush(heap, item) ! sort = [] ! while heap: ! sort.append(heappop(heap)) ! print sort ! unInstrumentTree(Node) ! checkoutput(3255652498) ! ! if __name__ == '__main__': ! main() Index: out =================================================================== RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/out,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** out 31 Dec 2003 07:57:51 -0000 1.2 --- out 31 Dec 2003 09:04:58 -0000 1.3 *************** *** 1,8 **** 3141592653 3141592653 True True 0 ! 3 1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 3 2 7 9 5 0 2 8 8 4 1 9 7 1 6 9 3 9 9 3 7 5 1 0 5 8 2 0 9 7 4 9 4 4 5 9 2 3 0 7 8 1 6 4 0 6 2 8 6 2 0 8 9 9 8 6 2 8 0 3 4 8 2 5 3 4 2 1 1 7 0 6 7 9 8 2 1 4 8 0 8 6 5 1 3 2 8 2 3 0 6 6 4 7 0 9 3 8 4 4 6 0 9 5 5 0 5 8 2 2 3 1 7 2 5 3 5 9 4 0 8 1 2 8 4 8 1 1 1 7 4 5 0 2 8 4 1 0 2 7 0 1 9 3 8 5 2 1 1 0 5 5 5 9 6 4 4 6 2 2 9 4 8 9 5 4 9 3 0 3 8 1 9 6 4 4 2 8 8 1 0 9 7 5 6 6 5 9 3 3 4 4 6 1 2 8 4 7 5 6 4 8 2 3 3 7 8 6 7 8 3 1 6 5 2 7 1 2 0 1 9 0 9 1 4 5 6 4 8 5 6 6 9 2 3 4 6 0 3 4 8 6 1 0 4 5 4 3 2 6 6 4 8 2 1 3 3 9 3 6 0 7 2 6 0 2 4 9 1 4 1 2 7 3 7 2 4 5 8 7 0 0 6 6 0 6 3 1 5 5 8 8 1 7 4 8 8 1 5 2 0 9 2 0 9 6 2 8 2 9 2 5 4 0 9 1 7 1 5 3 6 4 3 6 7 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 4 4 6 8 5 0 3 5 2 6 1 9 3 1 1 8 8 1 7 1 0 1 0 0 0 3 1 3 7 8 3 8 7 5 2 8 8 6 5 8 7 5 3 3 2 0 8 3 8 1 4 2 0 6 1 7 1 7 7 6 6 9 1 4 7 3 0 3 5 9 8 2 5 3 4 9 0 4 2 8 7 5 5 4 6 8 7 3 1 1 5 9 5 6 2 8 6 3 8 8 2 3 5 3 7 8 7 5 9 3 7 5 1 9 5 7 7 8 1 8 5 7 7 8 0 5 3 2 1 7 1 2 2 6 8 0 6 6 1 3 0 0 1 9 2 7 8 7 6 6 1 1 1 9 5 9 0 9 2 1 6 4 2 0 1 9 8 --> b3 ! A [T(290448019)] [T(1487478786)] [T(159903786)] using None Z [T(387083)] [T(1080738845)] [T(2147439074)] *************** *** 20,23 **** --- 25,63 ---- Z [T(387083)] [T(1080738845)] [T(2147439074)] 0 + --> b4 + [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + --> b5 + OK. + --> b6 + --> iteration 1 + --> b0 + 3141592653 + 3141592653 + --> b1 + True + True + 0 + --> b2 + 3 1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 3 2 7 9 5 0 2 8 8 4 1 9 7 1 6 9 3 9 9 3 7 5 1 0 5 8 2 0 9 7 4 9 4 4 5 9 2 3 0 7 8 1 6 4 0 6 2 8 6 2 0 8 9 9 8 6 2 8 0 3 4 8 2 5 3 4 2 1 1 7 0 6 7 9 8 2 1 4 8 0 8 6 5 1 3 2 8 2 3 0 6 6 4 7 0 9 3 8 4 4 6 0 9 5 5 0 5 8 2 2 3 1 7 2 5 3 5 9 4 0 8 1 2 8 4 8 1 1 1 7 4 5 0 2 8 4 1 0 2 7 0 1 9 3 8 5 2 1 1 0 5 5 5 9 6 4 4 6 2 2 9 4 8 9 5 4 9 3 0 3 8 1 9 6 4 4 2 8 8 1 0 9 7 5 6 6 5 9 3 3 4 4 6 1 2 8 4 7 5 6 4 8 2 3 3 7 8 6 7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 9 6 0 5 1 8 7 0 7 2 1 1 3 4 9 9 9 9 9 9 8 3 7 2 9 7 8 0 4 9 9 5 1 0 5 9 7 3 1 7 3 2 8 1 6 0 9 6 3 1 8 5 9 5 0 2 4 4 5 9 4 5 5 3 4 6 9 0 8 3 0 2 6 4 2 5 2 2 3 0 8 2 5 3 3 4 4 6 8 5 0 3 5 2 6 1 9 3 1 1 8 8 1 7 1 0 1 0 0 0 3 1 3 7 8 3 8 7 5 2 8 8 6 5 8 7 5 3 3 2 0 8 3 8 1 4 2 0 6 1 7 1 7 7 6 6 9 1 4 7 3 0 3 5 9 8 2 5 3 4 9 0 4 2 8 7 5 5 4 6 8 7 3 1 1 5 9 5 6 2 8 6 3 8 8 2 3 5 3 7 8 7 5 9 3 7 5 1 9 5 7 7 8 1 8 5 7 7 8 0 5 3 2 1 7 1 2 2 6 8 0 6 6 1 3 0 0 1 9 2 7 8 7 6 6 1 1 1 9 5 9 0 9 2 1 6 4 2 0 1 9 8 --> b3 + A [T(468926968)] [T(1952553305)] [T(601691342)] + using None + Z [T(253993)] [T(1069740206)] [T(2147479166)] + 0 + using cmp + Z [T(253993)] [T(1069740206)] [T(2147479166)] + 0 + using icmp + Z [T(253993)] [T(1069740206)] [T(2147479166)] + 259924 + using None + Z [T(253993)] [T(1069740206)] [T(2147479166)] + 259924 + using None + Z [T(253993)] [T(1069740206)] [T(2147479166)] + 0 + --> b4 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + --> b5 OK. + --> b6 + --> All done.
participants (1)
-
gvanrossumļ¼ users.sourceforge.net