DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

isPrime.js demontrates GatewayScript runtime measurement for runtime intensive regexp

  • 1.  isPrime.js demontrates GatewayScript runtime measurement for runtime intensive regexp

    Posted 03/06/22 02:31 AM
    Reports
    true (2.564s)
    for smallest 17bit prime number 65537, and reports
    true (424.544s)
    for 100,000th prime number 1299709 (both on IDG hardware appliance).

    https://gist.github.com/Hermann-SW/a73321214fe2d446c476afe339c39f91


    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support & Fixpack team lead
    IBM DataPower Gateways (⬚ᵈᵃᵗᵃ / ⣏⠆⡮⡆⢹⠁⡮⡆⡯⠂⢎⠆⡧⡇⣟⡃⡿⡃)
    https://stamm-wilbrandt.de/en/blog/
    ------------------------------


  • 2.  RE: isPrime.js demontrates GatewayScript runtime measurement for runtime intensive regexp

    Posted 03/23/22 01:24 PM
    Thanks @Hermann Stamm-Wilbrandt for this writeup


    ------------------------------
    Jina K
    ------------------------------