WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175697
Add a Unicode test to RexBench that matches non-BMP characters
https://bugs.webkit.org/show_bug.cgi?id=175697
Summary
Add a Unicode test to RexBench that matches non-BMP characters
Michael Saboff
Reported
2017-08-17 16:29:48 PDT
Currently all the Unicode sub tests of RexBench only process BMP characters. We should add a test that goes beyond BMP characters.
Attachments
Patch
(29.45 KB, patch)
2017-08-17 16:43 PDT
,
Michael Saboff
jfbastien
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-08-17 16:30:43 PDT
<
rdar://problem/33952865
>
Michael Saboff
Comment 2
2017-08-17 16:43:49 PDT
Created
attachment 318441
[details]
Patch
JF Bastien
Comment 3
2017-08-17 17:16:27 PDT
Comment on
attachment 318441
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318441&action=review
I didn't check the poker logic. I saw you play, looked about right. r=me
> PerformanceTests/RexBench/unicode_poker_benchmark.js:51 > + runUnicodePokerBenchmark = makeBenchmarkRunner(sources, "UnicodePokerBenchmark", 20);
What's the 20 here? numIterations?
> PerformanceTests/RexBench/unicode_poker_benchmark.js:55 > + name: "Unicode Poker",
UniPoker or Po🂾er ;-)
> PerformanceTests/RexBench/UnicodePoker/benchmark.js:36 > + Math.random = (function() {
Ha nice :)
> PerformanceTests/RexBench/UnicodePoker/benchmark.js:54 > + this._players.push(new Player("Player 4"));
Better player names! You could immortalized 4 people in benchmark fame!
> PerformanceTests/RexBench/UnicodePoker/poker.js:71 > + return cardRank
ASI on purpose here?
> PerformanceTests/RexBench/UnicodePoker/poker.js:128 > + });
Arrow function here!
Michael Saboff
Comment 4
2017-08-17 17:57:01 PDT
Committed
r220893
: <
http://trac.webkit.org/changeset/220893
>
Michael Saboff
Comment 5
2017-08-17 17:58:16 PDT
(In reply to JF Bastien from
comment #3
)
> Comment on
attachment 318441
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=318441&action=review
> > I didn't check the poker logic. I saw you play, looked about right. > > r=me > > > PerformanceTests/RexBench/unicode_poker_benchmark.js:51 > > + runUnicodePokerBenchmark = makeBenchmarkRunner(sources, "UnicodePokerBenchmark", 20); > > What's the 20 here? numIterations?
Yes.
> > PerformanceTests/RexBench/unicode_poker_benchmark.js:55 > > + name: "Unicode Poker", > > UniPoker or Po🂾er > > ;-)
I changed it to UniPoker.
> > PerformanceTests/RexBench/UnicodePoker/benchmark.js:36 > > + Math.random = (function() { > > Ha nice :) > > > PerformanceTests/RexBench/UnicodePoker/benchmark.js:54 > > + this._players.push(new Player("Player 4")); > > Better player names! You could immortalized 4 people in benchmark fame! > > > PerformanceTests/RexBench/UnicodePoker/poker.js:71 > > + return cardRank > > ASI on purpose here?
I added the missing semicolon.
> > PerformanceTests/RexBench/UnicodePoker/poker.js:128 > > + }); > > Arrow function here!
Done.
hebon48
Comment 6
2024-11-11 01:42:06 PST
The community aspect is also a big plus. Winspirit AU Sat has a great community of players from all over, but I’ve met quite a few fellow
https://winspirit-aus.com/
who are just as passionate about the games as I am. We share tips, talk about our favorite games, and keep each other motivated.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug