Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025 Repixel Co., Ltd.
Copyright (c) 2025-present Repixel Co., Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,20 @@ TODO

## Performance compare with Mendix PWT

The results below were obtained using our own tools within the [benchmark directory](./benchmark), and the code for the benchmarked widgets is also available for review.

If you wish to reproduce the benchmark results, you can do so using the tools and widgets within the [benchmark directory](./benchmark).

### Web Widget Build

|Category|@mendix/pluggable-widgets-tools|@repixelcorp/hyper-pwt|Result|
|--------|-------------------------------|----------------------|------|
|Build time|27475ms|4135ms|**-23340.00ms (84.95% faster)**|
|Memory Usage|0.11MB|0.08MB|**-0.03MB (26.93% less)**|
|MPK File Size|1.26MB|557.08KB|**-731.37KB (56.76% less)**|

### Native Widget

TODO

## Support pwt tasks
Expand Down
4 changes: 4 additions & 0 deletions benchmark/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
artifacts/
*.log
.DS_Store
7 changes: 7 additions & 0 deletions benchmark/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# hyper-pwt Benchmark Tool

Benchmark tool for comparing the speed of Mendix PWT and @repixelcorp/hyper-pwt.

## How to test on my environment

1. Navigate to the benchmarkWidget folder and run npm install.
5 changes: 5 additions & 0 deletions benchmark/benchmarkWidget/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const base = require("@mendix/pluggable-widgets-tools/configs/eslint.ts.base.json");

module.exports = {
...base
};
21 changes: 21 additions & 0 deletions benchmark/benchmarkWidget/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.json text eol=lf
*.xml text eol=lf
*.md text eol=lf
*.gitattributes eol=lf
*.gitignore eol=lf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary
20 changes: 20 additions & 0 deletions benchmark/benchmarkWidget/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
...Mendix/benchmark-main/
.DS_Store
.idea
.vscode
dist
node_modules
.env
*.log
*.bak
*.launch
mxproject
coverage

**/results
mendixProject
**/e2e/diffs
**/screenshot
**/screenshot-results
**/tests/testProject
**/artifacts
1 change: 1 addition & 0 deletions benchmark/benchmarkWidget/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
...Mendix/benchmark-main/
24 changes: 24 additions & 0 deletions benchmark/benchmarkWidget/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## BenchmarkWidget
[Widget for benchmark]

## Features
[feature highlights]

## Usage
[step by step instructions]

## Demo project
[link to sandbox]

## Issues, suggestions and feature requests
[link to GitHub issues]

## Development and contribution

1. Install NPM package dependencies by using: `npm install`. If you use NPM v7.x.x, which can be checked by executing `npm -v`, execute: `npm install --legacy-peer-deps`.
1. Run `npm start` to watch for code changes. On every change:
- the widget will be bundled;
- the bundle will be included in a `dist` folder in the root directory of the project;
- the bundle will be included in the `deployment` and `widgets` folder of the Mendix test project.

[specify contribution]
Loading
Loading