Commit Graph
62 Commits
Author SHA1 Message Date
meiseayoung 3b8d21dd0d fix: update import path to VPM package name (meiseayoung.hono)
- Change all `import hono` to `import meiseayoung.hono` in code and docs
- Ensure compatibility with VPM installation via `v install meiseayoung.hono`
2026-01-02 22:05:12 +08:00
meiseayoung 43aae4f10d chore: update v.mod version v0.3.9 2026-01-02 21:51:01 +08:00
meiseayoung 05bb2d6c95 feat: cross-platform uSockets support and route cache optimization
1. Cross-platform uSockets configuration
   - Use @VMODROOT for portable library paths
   - Support macOS (arm64/x86_64), Windows, and Linux
   - Auto-detect Homebrew paths for libuv on macOS

2. Route cache optimization (3x performance boost)
   - Replace LRU cache with FastRouteCache for dynamic routes
   - Zero-overhead cache lookup (no TTL check, no LRU reordering)
   - Dynamic route performance: 30k -> 97k RPS

3. New test files
   - Go-based integration tests for picoev and uSockets
   - FastCache optimization validation tests
   - Benchmark comparison tools
2026-01-02 21:44:07 +08:00
meiseayoung 9aefe5714d chore: update v.mod version v0.3.8 2025-12-31 18:35:29 +08:00
meiseayoung 1fc22044c3 perf: optimize HTTP parsing with zero-allocation techniques
- Refactor parse_path_and_query() to use single-pass traversal instead of split()
- Add eq_ignore_case() and contains_ignore_case() to avoid to_lower() allocations
- Optimize HTTP method parsing with first-char branching (parse_http_method_fast)
- Optimize Keep-Alive header check to avoid string allocations
- Apply optimizations to all server backends: picoev, usockets, and app.v

Performance improvements:
- Query string parsing: 20-44% faster
- Keep-Alive check: 82-90% faster
- HTTP method parsing: eliminates string comparison overhead
- Response header processing: removes to_lower() allocations

All 20+ test suites pass with no regressions.
2025-12-31 18:34:46 +08:00
meiseayoung b478269d8e chore: update v.mod version v0.3.7 2025-12-31 17:38:29 +08:00
meiseayoung 69d1385ced perf: 0 middleware ignore copy 2025-12-31 17:37:51 +08:00
meiseayoung 1482b9c4d9 doc: add Framework Comparison 2025-12-31 16:04:44 +08:00
meiseayoung 0937dd268c chore: update v.mod version v0.3.6 2025-12-31 15:46:10 +08:00
meiseayoung 07382ab622 feat: integration usockets backend 2025-12-31 15:44:51 +08:00
meiseayoung 5375b7394f chore: update v.mod version 2025-12-30 21:40:39 +08:00
meiseayoung d0298ea577 fix: In high concurrency (200+), V-Hono experiences an error where the connection is reset problem v0.3.5 2025-12-30 19:23:09 +08:00
meiseayoung 8e1007a1b4 chore: update v.mod version v0.3.4 2025-12-30 18:42:02 +08:00
meiseayoung 6cdba50f36 fix: Remove duplicate response headers 2025-12-30 18:41:34 +08:00
meiseayoung 418ead392b chore: update v.mod version v0.3.3 2025-12-30 18:29:52 +08:00
meiseayoung e305abba2b fix: fix the issue of During ultra-high concurrency (5000 req, 200 concurrent) URL Params testing, stability issues were encountered (success rate only 0.24%). 2025-12-30 18:29:03 +08:00
meiseayoung e22f612f24 chore: update v.mod version v0.3.2 2025-12-30 17:32:05 +08:00
meiseayoung a38aeea614 perf: use picoev as default Server for improve response concurrency 2025-12-30 17:31:13 +08:00
meiseayoung ee2818782b chore: update v.mod version v0.3.1 2025-12-30 14:27:57 +08:00
meiseayoung 645d8c2dda feat: add redirect method 2025-12-30 14:25:35 +08:00
meiseayoung 6fe79d298d chore: use x.json2 module replace json_parser 2025-12-30 12:58:42 +08:00
meiseayoung a95485dd25 migr: migration json to x.json2 v0.3.0 2025-12-30 12:40:30 +08:00
meiseayoung 85b001225e doc: remove publish doc 2025-12-30 11:15:44 +08:00
meiseayoung 8825ef9b25 chore: change module and repo name 2025-12-30 11:12:48 +08:00
meiseayoung 782a4e7795 refc: Refactor project structure 2025-12-30 11:00:46 +08:00
meiseayoung 369655a9ea doc: rewrite README.MD content 2025-12-29 18:06:05 +08:00
meiseayoung e1a86d108b fix: 修复路由分组功能; 添加Hono app添加all,not_found,on_error方法 2025-12-29 17:54:52 +08:00
meiseayoung 3ef232a077 perf: 静态路由修改为简单的map缓存 2025-12-29 12:14:20 +08:00
meiseayoung 7c1aa656ab chore: 记录HTTP Keep-Alive 连接复用不支持的问题 2025-12-26 15:52:24 +08:00
meiseayoung 3355e274e2 perf: 重构优化路由性能,添加日志系统,优化大文件内存占用,加强输入验证及路径安全等 2025-12-26 13:46:25 +08:00
yangshangbo f722370cf3 perf: 添加文件流式输入性能优化 2025-09-09 10:00:50 +08:00
yangshangbo 04e4ad195b fix: 修复LRU缓存内存泄漏 2025-09-09 09:37:49 +08:00
yangshangbo 38a55c41ab feat: add user role menu management api 2025-07-16 18:09:52 +08:00
yangshangbo 441a8f114d feat: first /upload/chunk_exists request alone 2025-07-11 18:07:59 +08:00
yangshangbo e362c4ffb5 feat: chunk file upload add quest pool 2025-07-11 16:32:15 +08:00
meiseayoung 1f8e9ac11e Update v.mod 2025-07-11 11:24:14 +08:00
yangshangbo b1640947c0 chore: delete README.MD file 2025-07-11 10:18:37 +08:00
yangshangbo e5c8bad871 fix: change README.MD to README.md 2025-07-11 10:16:05 +08:00
yangshangbo 2e859cbe99 fix: remove outer .v module 2025-07-11 10:08:09 +08:00
meiseayoung a59b768d94 Update README.MD 2025-07-10 22:08:44 +08:00
meiseayoung d09b01dbb2 Update README.MD 2025-07-10 22:04:45 +08:00
yangshangbo 61889b7d12 chore: gitignore .exe 2025-07-10 11:24:55 +08:00
yangshangbo daa1adcaae chore: upload example.exe 2025-07-10 11:23:57 +08:00
yangshangbo fdb7f4ec77 example: add chunk file upload example to example.v 2025-07-10 11:18:47 +08:00
yangshangbo 16475f2172 doc: README.MD add chunk file upload instructions 2025-07-10 10:08:59 +08:00
yangshangbo d59c268492 feat: add chunk file upload 2025-07-10 10:03:57 +08:00
yangshangbo 684866baa6 fix: fix hono.file response duplicated content-type header 2025-07-08 11:51:09 +08:00
yangshangbo 50c055b607 feat: add hono.file method 2025-07-08 11:04:27 +08:00
yangshangbo f039f24af1 chore: change new_hono to Hono.new 2025-07-07 13:51:38 +08:00
yangshangbo aca60cb4fa feat: add serveStatic middleware 2025-07-07 13:45:07 +08:00