Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- http connector: dynamic casts -> (safe) static casts (improves performance in TechEmpower benchmarks a little bit) - Added TechEmpower benchmarks to examples directory - WStandardItemModel: use the correct parent for a move-event - Fixing issue #5699 This is actually a workaround for the root cause: clickable widgets are rendered as buttons in plain HTML, so a clickable widget inside of a clickable widget becomes a button in a button. These are placed next to eachother in the DOM instead of one inside the other, and this situation is not rectified when JavaScript becomes enabled. - Use application's JavaScript class instead of "Wt" in a few places - Fixed grammar mistake in widgetgallery - Fixed issue #5677 - Issue #5698: output doubles with round_js_str in WSlider
- Loading branch information
1 parent
27a62e0
commit 319befa
Showing
25 changed files
with
548 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,6 +241,7 @@ SUBDIRS( | |
qrlogin | ||
simplechat | ||
style | ||
te-benchmark | ||
treelist | ||
treeview | ||
treeview-dragdrop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# If you have Wt installed somehwere, you should use the | ||
# installed Wt header files for your own Wt projects. | ||
# e.g. INCLUDE_DIRECTORIES(/usr/local/include) | ||
# instead of the following: | ||
# | ||
INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src) | ||
|
||
IF(ENABLE_MYSQL AND MYSQL_FOUND) | ||
WT_ADD_EXAMPLE(te-benchmark.wt benchmark.cpp) | ||
TARGET_LINK_LIBRARIES(te-benchmark.wt | ||
debug wtdbod optimized wtdbo | ||
debug wtdbomysqld optimized wtdbomysql) | ||
ENDIF(ENABLE_MYSQL AND MYSQL_FOUND) | ||
|
||
IF(ENABLE_POSTGRES AND POSTGRES_FOUND) | ||
WT_ADD_EXAMPLE(te-benchmark-pg.wt benchmark.cpp) | ||
TARGET_COMPILE_DEFINITIONS(te-benchmark-pg.wt PRIVATE BENCHMARK_USE_POSTGRES) | ||
TARGET_LINK_LIBRARIES(te-benchmark-pg.wt | ||
debug wtdbod optimized wtdbo | ||
debug wtdbopostgresd optimized wtdbopostgres) | ||
ENDIF(ENABLE_POSTGRES AND POSTGRES_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
TechEmpower frameworks benchmark implementation | ||
----------------------------------------------- | ||
|
||
This example implements the TechEmpower framework benchmark tests for Wt. | ||
|
||
How to run | ||
---------- | ||
|
||
See the README in the parent directory. | ||
|
||
Additional arguments to fit the benchmark requirements: | ||
|
||
- `-c wt_config.xml`: config that disables logging | ||
- `--accesslog=-`: disables access log | ||
- `--no-compression`: disables zlib compression | ||
|
||
What it illustrates | ||
------------------- | ||
|
||
How to implement a simple RESTful service in Wt using custom WResources. |
Oops, something went wrong.