Skip to content

Conversation

@smthing
Copy link

@smthing smthing commented Dec 25, 2024

No description provided.

link552 and others added 30 commits December 9, 2024 07:55
)

* Upgrade docker image, g++ version, c++ standard, and poco version.

* Increasing max connections, thread priority, and disabling blocking.

* Adding README file.
* hserver framework submit

* hserver framework submit

* lowercase fix

* Required response header missing: Date fix

* Date format fix

* update hserver version

* update hserver threadPool

* update hserver

* update hserver

* update hserver query

* update hserver query

* Update README.md

* update hserver query

* update hserver query

* update hserver query

* update hserver query

* update hserver query

* update hserver query

* Optimal configuration of hserver framework

* Optimal configuration of hserver framework

* Optimal configuration of hserver framework

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Update pom.xml

Upgrade dependencies, optimize performance.

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration and Optimize log printing

* Update pom.xml

* Update StartApp.java

* 1

* 1

* 1

* update jdk version

* update version

* update version

* update version

* Update app.properties

* Update config.toml

* Update benchmark_config.json

* Update benchmark_config.json

* Update config.toml

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* Upgrade hserver Framework version and optimize configuration

* update version

* add hserver-business test

* [java] Update hserver and hserver-business version

* [java] Update hserver and hserver-business version

---------

Co-authored-by: 黑小马 <heixiaoma@gmail.com>
* [F#/Oxpecker] Updated to .NET 9

* [F#/Oxpecker] Fixed dockerfile
…0.16-slim` for express, fastify, hapi, koa, nest. (#9447)
* update smart-servlet to 0.1.3-SNAPSHOT

* update aio-enhance to 1.0.3-SNAPSHOT

* smart-servlet bugfix

* bugfix

* update smart-socket to 1.5.6-SNAPSHOT

* remove file

* update aio-enhance to 1.0.4-SNAPSHOT

* 优化代码

* 优化代码

* update smart-socket to 1.5.6

* config threadNum

* update smart-socket to 1.5.7-SNAPSHOT

* 优化代码

* update smart-socket to 1.5.10-SNAPSHOT

* 优化代码

* 优化代码

* 优化代码

* 异常aio-enhance

* 优化代码

* 优化代码

* 优化代码

* remove aio-pro

* remove headerLimiter

* update hikaricp version

* replace json util

* 更新线程模型

* upgrade smart-servlet to 0.1.9-SNAPSHOT

* config thread num

* config thread num

* revert code

* revert code

* upgrade smart-servlet to 0.2.1-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 0.6-SNAPSHOT

* upgrade smart-servlet to 1.0-SNAPSHOT

* upgrade smart-servlet to 1.4

* upgrade smart-servlet to 1.5-SNAPSHOT

* 启用虚拟线程

* 启用虚拟线程

* 适配最新版

* 适配最新版

* 适配最新版

* 适配最新版

* 适配最新版

* 适配最新版
* fixed batch writes

* upgraded Ktor to latest

---------

Co-authored-by: Ilya Nemtsev <ilyanemtsev@192.168.1.72>
For example, don't install unicorn when testing puma.
* Update Solon Version To 2.9.1

* Update Solon Version To 2.9.1

* Update Solon Jdk To 21

* Update Solon Jdk To 21

* Update Solon Jdk To 21

* Update Solon Jdk To 21

* Update Solon Jdk To 21

* Update Solon Version To 2.9.2

* Add Solon-Virtual

* Remove solon-virtual

* Update Solon Version To 3.0.2

* Add Solon-Vertx

* Tweak description

* Tweak the dockerfile

* Tweak the dockerfile

* Tweak config

* Tweak dockefile name

* Add FilterImpl

* Add FilterImpl

* The json plugin is changed to jackson

* Update Solon Jdk To 23

* Update Solon-Vertx Jdk To 23

* Solon-vertx is restored to jdk 21

* Solon is restored to jdk 21

* Solon-vertx adjusts the Date output format

* Solon is restored to jdk 21

* Remove solon-vertx

* [Java] Update Solon Version To 3.0.3

* [Java] Update Solon Version To 3.0.4

* [Java] remove solon-vertx

* [Java] Update Solon Version To 3.0.4

* [Java] Update Solon Version To 3.0.4

* [Java] Update Solon Version To 3.0.4

* [Java] Update Solon Version To 3.0.4
* Verified that cowboy works as expected

* Remove GetText and PlugCowboy from imports

* After a ton of debugging figured out the issue in plaintext with much support from @mtudel

* Return accepts plug just for fortunes

* Return accepts plug just for fortunes

* Use public release of bandit with bug fix merged
* [Salvo] Upgrade to  0.74

* rust 1.83

* docker update
…#9455)

* Update hserver-business.dockerfile quiet option

* Update hserver.dockerfile quiet [ci skip]
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](golang/crypto@v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…works/Go/fiber/src/golang.org/x/crypto-0.31.0

Bump golang.org/x/crypto from 0.27.0 to 0.31.0 in /frameworks/Go/fiber/src
Bumps [cookie](https://github.com/jshttp/cookie) to 1.0.2 and updates ancestor dependency [hyper-express](https://github.com/kartikk221/hyper-express). These dependencies need to be updated together.


Updates `cookie` from 0.4.2 to 1.0.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.4.2...v1.0.2)

Updates `hyper-express` from 6.8.5 to 6.17.3
- [Release notes](https://github.com/kartikk221/hyper-express/releases)
- [Commits](kartikk221/hyper-express@6.8.5...6.17.3)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: hyper-express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…meworks/JavaScript/hyperexpress/multi-938710f00c

Bump cookie and hyper-express in /frameworks/JavaScript/hyperexpress
* [mORMot] - mORmot@2.3.9138 + refactoring

* [mORMot] - fixed regression for async tests

---------

Co-authored-by: pavel.mash <pavel.mash@inbase.com.ua>
* feat: add ultimate express

* feat: add ultimate express

* refactor(express): simplify response handling by removing writeResponse helper

- removed writeResponse function and headerTypes constant for direct header and response handling
- refactored routes to set headers and send responses inline, making code more declarative
- improved readability and reduced abstraction in response handling for each route

* fix: unique display names

* fix: names

* fix: add db/query/update/fortune urls

* fix: missing orm value

* fixes

* fixes

* fixes

* full refactor

* fix etag and disable x-powered-by

* generate json dynamically

* fix space

* use fjs

---------

Co-authored-by: dimden <26517362+dimdenGD@users.noreply.github.com>
* Baseline Ur/Web configuration now works building the Ur/Web compiler and runtime from source

* Update Ur/Web MySQL baseline

* Get current version of Ur/Web cached queries unbroken (and tag myself as maintainer)

* For Ur/Web caching tests, switch to building Ur/Web from source

* Update Ubuntu version for Ur/Web

* Change Ur/Web's Ubuntu version to latest LTS
* [php] Flight update to PHP 8.4

#9408

* [toolset] Update Mongodb to v8
* Update aspnetcore Platform to use latest Razor Slices

This allows enabling native AOT too

* Update README.md

* Update ChunkedPipeWriter.cs

* Update Npgsql & seal classes

* Update ChunkedPipeWriter.cs
Not using async_thread_pool seems faster:

+-------------------------+---------+------+------+-----+-----+-------+--------------+
|              branch_name|plaintext|update|  json|   db|query|fortune|weighted_score|
+-------------------------+---------+------+------+-----+-----+-------+--------------+
|                   master|   101265| 13921|113730|33371|24701|  28719|          1794|
|disable-async-thread-pool|   102381| 13441|126911|40248|28379|  43834|          1928|
p8 and others added 10 commits December 20, 2024 12:31
Agoo should should improve sinatra results:

+------------+---------+------+------+-----+-----+-------+--------------+
| branch_name|plaintext|update|  json|   db|query|fortune|weighted_score|
+------------+---------+------+------+-----+-----+-------+--------------+
|      master|    92523|  9634| 92989|38761|14495|  22834|          1242|
|sinatra/agoo|   120585| 11097|125360|48105|42945|  18494|          1996|
+------------+---------+------+------+-----+-----+-------+--------------+
#9459)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.31.0.
- [Commits](golang/crypto@v0.17.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update Flight to v3

* Fix plaintext
The latest version has multiple performance improvements.
* Code optimization

* Remove maintainers
* add tio-server

* add simple docker file

* fix docker file

* chage log level to info

* add template and activate record

* add cache

* update reupadme.md

* update cache query

* test on windows

* chage to EnviormentUtils

* add java run with jdb info

* add EnviormentUtils

* change to JDBC_URL

* add mysql run cmd

* update dockerfile add jdbc info

* fix jdbc info error

* fix  Unterminated quoted string on dockerfile

* fix jdb_user error

* add "database": "MySQL",

* chage in to Integer of Fortune

* add #escape to avoid xxs

* remove caffeine and add ehcache

* failed to test native

* change to cached_query_url

* add native arg

* remove unused file for tio-http-server

* add dockerignore

* update jar name to tio-http-server-benchmark

* update version

* fix all query

* update docker file

* update docker file and plugin

* update docker file

* update dockerfile

* update tio-http-server version

* remove native support

* update tio-http-server version

* update jdbc info

* update docker file

---------

Co-authored-by: litongjava <litongjava@qq.com>
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.2.3 to 1.2.13.
- [Commits](qos-ch/logback@v_1.2.3...v_1.2.13)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…/Java/tio-http-server/ch.qos.logback-logback-classic-1.2.13

Bump ch.qos.logback:logback-classic from 1.2.3 to 1.2.13 in /frameworks/Java/tio-http-server
@smthing smthing merged commit 968ea5c into smartboot:master Dec 25, 2024
2 checks passed
smthing pushed a commit that referenced this pull request Nov 6, 2025
Roda will use the faster `CGI.escape_html` if the "cgi" gem is
installed:
https://github.com/jeremyevans/roda/blob/d89cd5d7310dad20eb706eb392ebbce49f815e67/lib/roda/plugins/h.rb

```ruby
require 'benchmark/ips'
require 'erb'

Benchmark.ips do |x|
  x.config(time: 5)

  messages = []
  messages <<  'Additional fortune added at request time.'
  messages << 'フレームワークのベンチマーク'
  messages << '<script>alert("This should not be displayed in a browser alert box.");</script>'

  require 'cgi'
  x.report("CGI") do
    messages.each do |m|
      CGI.escape_html(m)
    end
  end

  ESCAPE_HTML = {
    "&" => "&amp;".freeze,
    "<" => "&lt;".freeze,
    ">" => "&gt;".freeze,
    "'" => "&#39;".freeze,
    '"' => "&quot;".freeze,
  }.freeze

  # A Regexp of HTML entities to match for escaping.
  ESCAPE_HTML_PATTERN = Regexp.union(*ESCAPE_HTML.keys)

  x.report("ESCAPE_HTML") do
    messages.each do |m|
      m.to_s.gsub(ESCAPE_HTML_PATTERN){|c| ESCAPE_HTML[c] }
    end
  end

  x.compare!
end
```

```
ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [arm64-darwin24]
Warming up --------------------------------------
                 CGI    39.444k i/100ms
         ESCAPE_HTML    33.482k i/100ms
Calculating -------------------------------------
                 CGI    394.120k (± 1.0%) i/s    (2.54 μs/i) -      1.972M in   5.004594s
         ESCAPE_HTML    333.558k (± 1.6%) i/s    (3.00 μs/i) -      1.674M in   5.020278s

Comparison:
                 CGI:   394120.5 i/s
         ESCAPE_HTML:   333557.6 i/s - 1.18x  slower
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.