AxonASP vs. Native IIS ASP: Performance Benchmarks and Engine Architecture

AxonASP vs. Native IIS ASP: Performance Benchmarks and Engine Architecture

AxonASP 与原生 IIS ASP:性能基准测试与引擎架构

Legacy VBScript and Classic ASP are traditionally bound to the Windows native execution engine (cscript.exe or w3wp.exe). AxonASP replaces this dependency with a high-performance, cross-platform engine written in Go. 传统的 VBScript 和经典 ASP 通常绑定在 Windows 原生执行引擎(cscript.exe 或 w3wp.exe)上。AxonASP 用一个基于 Go 语言编写的高性能、跨平台引擎取代了这种依赖。

Recent benchmarks demonstrate that AxonASP outperforms the native Microsoft implementation in computational execution. The GoF Design Patterns Benchmark Developer Jeffrey Heping ported all 23 Gang of Four (GoF) design patterns to VBScript, implementing strict OOP structures including classes, recursion, collections, and callbacks. The identical 23 files were executed across five environments on Windows 11. Each test iteration measured the complete lifecycle: process start, code compilation, and execution. 最近的基准测试表明,AxonASP 在计算执行方面优于微软的原生实现。GoF 设计模式基准测试开发者 Jeffrey Heping 将全部 23 种“四人帮”(GoF)设计模式移植到了 VBScript 中,实现了包括类、递归、集合和回调在内的严格面向对象编程(OOP)结构。这 23 个相同的文件在 Windows 11 上的五个环境中进行了执行测试。每次测试迭代都测量了完整的生命周期:进程启动、代码编译和执行。

EngineRuntime EnvironmentAverage TimePass Rate
AxonASP (classic syntax)axonasp-cli0.092s23/23
AxonASP (modern syntax)axonasp-cli0.102s23/23
cscript.exenative Windows VBScript0.107s23/23
VB.NETdotnet0.233s23/23
ASPPYPython-implemented engine0.247s23/23

Data points: AxonASP successfully passes 100% of the pattern tests across both syntax modes. ASPPY functions correctly but operates with standard Python interpreter overhead, resulting in slower execution times compared to the compiled Go-based engine, more memory and processor usage. 数据点:AxonASP 在两种语法模式下均成功通过了 100% 的模式测试。ASPPY 虽然功能正常,但受限于标准 Python 解释器的开销,导致执行速度比基于 Go 编译的引擎更慢,且占用了更多的内存和处理器资源。

Compilation and Web Request Velocity

编译与 Web 请求速度

The 0.092s execution time measured above represents a “cold start” (process initialization + compilation + execution) using the CLI. In a web environment (axonasp-http or axonasp-fastcgi), AxonASP parses and compiles the VBScript/JScript into an internal bytecode structure, caching it in memory. Subsequent HTTP requests bypass the parsing phase entirely, executing the cached bytecode directly. This structural design makes sustained web processing fundamentally faster than traditional IIS ISAPI execution. 上述测得的 0.092 秒执行时间代表了使用 CLI 时的“冷启动”(进程初始化 + 编译 + 执行)。在 Web 环境(axonasp-http 或 axonasp-fastcgi)中,AxonASP 会将 VBScript/JScript 解析并编译为内部字节码结构,并将其缓存在内存中。后续的 HTTP 请求将完全跳过解析阶段,直接执行缓存的字节码。这种结构设计使得持续的 Web 处理速度从根本上快于传统的 IIS ISAPI 执行方式。

Cross-Platform CLI Automation

跨平台 CLI 自动化

AxonASP is a standalone execution engine, not strictly a web server. The axonasp-cli binary allows developers to execute VBScript and JScript directly from the terminal on Linux, macOS, BSD, and Windows. This capability repurposes VBScript into a cross-platform scripting language for system automation, bypassing the need for an HTTP implementation or Windows host. AxonASP 是一个独立的执行引擎,而不仅仅是一个 Web 服务器。axonasp-cli 二进制文件允许开发者在 Linux、macOS、BSD 和 Windows 的终端上直接执行 VBScript 和 JScript。这一功能将 VBScript 重新定位为一种用于系统自动化的跨平台脚本语言,无需依赖 HTTP 实现或 Windows 主机。

Golang Embedding and HTA Support

Golang 嵌入与 HTA 支持

Because the AxonASP engine is written in Go, its architectural components are modular. Direct Embedding: Go developers can import the AxonASP runtime into their own compiled Go applications, enabling native VBScript and JScript execution inside third-party binaries. Cross-Platform HTA: Leveraging this modularity, developers like Jeffrey Heping have successfully implemented engines that execute Microsoft HTA (HTML Application) files natively across all operating systems, entirely decoupling them from the Windows OS constraints. 由于 AxonASP 引擎是用 Go 编写的,其架构组件具有模块化特性。直接嵌入:Go 开发者可以将 AxonASP 运行时导入到他们自己编译的 Go 应用程序中,从而在第三方二进制文件中实现原生的 VBScript 和 JScript 执行。跨平台 HTA:利用这种模块化,像 Jeffrey Heping 这样的开发者已经成功实现了可以在所有操作系统上原生执行微软 HTA(HTML 应用程序)文件的引擎,使其完全脱离了 Windows 操作系统的限制。

AxonASP provides a structural advantage for legacy code. It executes faster than Microsoft’s native interpreter, runs without Windows licenses, and integrates directly into modern Go deployment pipelines. AxonASP 为遗留代码提供了结构性优势。它的执行速度比微软的原生解释器更快,无需 Windows 许可证即可运行,并可直接集成到现代 Go 部署流水线中。