Looking for Benchmarklets to improve pyvm

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • stelios xanthakis

    #1

    Looking for Benchmarklets to improve pyvm

    Hi.

    pyvm is a program that can run python 2.4 bytecode and most
    of the times produce the expected output. See



    I'm collecting small testlets to benchmark it, discover bottlenecks
    and improve it. They should be small and not use any crazy modules.
    Only [sys, os, itertools, thread, threading, math, random] for now.

    Basically, stuff that has appeared in c.l.py will be great
    (like xah lee's "partition list be equivalence", etc)

    Send!

    Stelios


  • coffeebug

    #2
    Re: Looking for Benchmarklets to improve pyvm

    Hi Stelios,
    Newbie here ("new" to the language and scripting in general).
    I'm trying to figure out what you mean by bytecode. Do you mean
    a virtual python environment that can be hosted by any anonymous
    operating system? For example, you want to run Python programs on
    BEOS so you crank up its version of PYVM and load a Python source code
    and run it?

    Or do you mean you want Python that's been compiled down to something
    like p-code on my machine, then you receive the p-code that you can
    expect to run?

    Is pyvm your own work?

    Has anyone computed the digits of pi (3.14159265) in Python?
    That might be a good application for string processing.
    Jim in Indiana USA

    Comment

    • stelios xanthakis

      #3
      Re: Looking for Benchmarklets to improve pyvm

      coffeebug wrote:[color=blue]
      >
      > Newbie here ("new" to the language and scripting in general).
      > I'm trying to figure out what you mean by bytecode. Do you mean
      > a virtual python environment that can be hosted by any anonymous
      > operating system? For example, you want to run Python programs on
      > BEOS so you crank up its version of PYVM and load a Python source code
      > and run it?[/color]

      The pyc files. See module 'compile' and module 'dis'.


      Stelios

      Comment

      Working...