Giter Club home page Giter Club logo

runops-switch's Introduction

NAME
    Runops::Switch - Alternate runloop for the perl interpreter

SYNOPSIS
        perl -MRunops::Switch foo.pl

DESCRIPTION
    This module provides an alternate runops loop. It's based on a large
    switch statement, instead of function pointer calls like the regular
    perl one (in run.c in the perl source code.) I wrote it for benchmarking
    purposes.

    As dynamic extension there is no notable speedup measurable.

    516 non-threaded:

        $ ./TEST op/*.t
        u=0.46 s=0.06 cu=16.27 cs=0.95 scripts=182 tests=47170
        $ PERL5OPT_TEST=-MRunops::Switch ./TEST op/.t
        u=0.49 s=0.02 cu=16.39 cs=0.83 scripts=182 tests=47170 (dynamic_ext overhead)

KNOWN PROBLEMS
    This module calls directly the "pp_*" functions from the Perl
    interpreter (not through a function pointer). Since those functions
    aren't part of the public Perl API, they won't be available unless you
    happen to run an OS that exports every symbol by default (such as Linux
    without "PERL_DL_NONLAZY" set). Notably, this module does not compile on
    Windows.

AUTHOR
    Written by Rafael Garcia-Suarez, based on an idea that Nicholas Clark
    had while watching a talk by Leopold Toetsch. The thread is here :

        http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-09/msg00012.html

    This program is free software; you may redistribute it and/or modify it
    under the same terms as Perl itself.

runops-switch's People

Contributors

rgs avatar

Stargazers

Reini Urban avatar

Watchers

Reini Urban avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.