Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit dc55824

Browse files
author
null
committed
save
1 parent 55cd45c commit dc55824

File tree

6 files changed

+390
-522
lines changed

6 files changed

+390
-522
lines changed

β€Ž.github/workflows/deploy-pages.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,33 @@ on:
1010
- .github/**
1111
- "!.github/workflows/deploy-pages.yml"
1212
workflow_dispatch:
13-
concurrency: ${{ github.workflow }}
13+
concurrency:
14+
group: ${{ github.workflow }}
15+
cancel-in-progress: true
1416
jobs:
1517
deploy-pages:
16-
permissions:
17-
pages: write
18-
id-token: write
1918
environment:
2019
name: github-pages
2120
url: ${{ steps.deploy-pages.outputs.page_url }}
21+
permissions:
22+
pages: write
23+
id-token: write
2224
runs-on: ubuntu-latest
2325
steps:
2426
- uses: actions/checkout@v4
2527
- uses: actions/setup-node@v4
2628
with:
27-
node-version: "20"
29+
node-version: latest
2830
cache: npm
2931
- run: npm ci
3032
- id: configure-pages
3133
uses: actions/configure-pages@v4
3234
- run: npm run build
3335
env:
3436
BASE_URL: ${{ steps.configure-pages.outputs.base_url }}/
37+
BASE_PATH: ${{ steps.configure-pages.outputs.base_path }}/
3538
- uses: actions/upload-pages-artifact@v3
3639
with:
3740
path: .vitepress/dist
3841
- id: deploy-pages
39-
uses: actions/deploy-pages@v4
42+
uses: actions/deploy-pages@v4

β€Ž.vitepress/components/HomeContent.vue

-27
This file was deleted.

β€Ž.vitepress/theme/index.ts

-17
This file was deleted.

β€Ž.vitepress/theme/style.css

-138
This file was deleted.

β€Žindex.md

+16-30
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
# https://vitepress.dev/reference/default-theme-home-page
33
layout: home
4+
pageClass: my-index-page
45

56
hero:
67
name: "1BRC"
@@ -62,42 +63,33 @@ features:
6263
linkText: Submit your solution!
6364
---
6465

65-
<script setup>
66-
import HomeContent from './.vitepress/components/HomeContent.vue'
67-
</script>
68-
6966
<style>
70-
.VPHomeHero .actions .action .VPButton:not(:link) {
67+
.my-index-page .VPHomeHero .actions .action .VPButton:not(:link) {
7168
background-color: transparent;
7269
}
7370
</style>
7471

75-
<HomeContent>
76-
7772
<small>Don't see your favorite language listed above? [Open an Issue to add it!](https://github.com/1brc/1brc.github.io/issues/new)</small>
7873

79-
**πŸŽ‰ Open for submissions!** \
80-
πŸ“† Challenge runs from **Jan 1, 2024** to **Jan 31, 2024**
81-
8274
Choose one of the languages listed above to see the language-specific leaderboard and instructions for submitting your solution to that language's repository.
8375

8476
## Global leaderboard
8577

78+
_TODO: Make sure this is up-to-date_
79+
8680
| | Time | Solution | Language | Author |
8781
| --- | ---------: | ---------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------------- |
88-
| 1. | 6.159s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_royvanrijn.java) | [Java] | [royvanrijn](https://github.com/royvanrijn) |
89-
| 2. | 6.532s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_thomaswue.java) | [Java] | [Thomas Wuerthinger](https://github.com/thomaswue) |
90-
| 3. | 7.620s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_merykitty.java) | [Java] | [Quan Anh Mai](https://github.com/merykitty) |
91-
| 4. | 9.062s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_obourgain.java) | [Java] | [obourgain](https://github.com/obourgain) |
92-
| 5. | 9.338s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_ebarlas.java) | [Java] | [Elliot Barlas](https://github.com/ebarlas) |
93-
| 6. | 10.589s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_artsiomkorzun.java) | [Java] | [Artsiom Korzun](https://github.com/artsiomkorzun) |
94-
| 7. | 10.613s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_spullara.java) | [Java] | [Sam Pullara](https://github.com/spullara) |
95-
| 8. | 11.038s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_asun.java) | [Java] | [Andrew Sun](https://github.com/as-com) |
96-
| 9. | 11.222s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_isolgpus.java) | [Java] | [Jamie Stansfield](https://github.com/isolgpus) |
97-
| 10. | 13.277s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_yavuztas.java) | [Java] | [Yavuz Tas](https://github.com/yavuztas) |
98-
| | 4m 13.449s | [link](https://github.com/gunnarmorling/onebrc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage.java) | [Java] | _Reference implementation_ |
99-
100-
[Java]: https://github.com/gunnarmorling/1brc
82+
| 1. | 6.159s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_royvanrijn.java) | [Java](https://github.com/gunnarmorling/1brc) | [royvanrijn](https://github.com/royvanrijn) |
83+
| 2. | 6.532s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_thomaswue.java) | [Java](https://github.com/gunnarmorling/1brc) | [Thomas Wuerthinger](https://github.com/thomaswue) |
84+
| 3. | 7.620s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_merykitty.java) | [Java](https://github.com/gunnarmorling/1brc) | [Quan Anh Mai](https://github.com/merykitty) |
85+
| 4. | 9.062s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_obourgain.java) | [Java](https://github.com/gunnarmorling/1brc) | [obourgain](https://github.com/obourgain) |
86+
| 5. | 9.338s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_ebarlas.java) | [Java](https://github.com/gunnarmorling/1brc) | [Elliot Barlas](https://github.com/ebarlas) |
87+
| 6. | 10.589s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_artsiomkorzun.java) | [Java](https://github.com/gunnarmorling/1brc) | [Artsiom Korzun](https://github.com/artsiomkorzun) |
88+
| 7. | 10.613s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_spullara.java) | [Java](https://github.com/gunnarmorling/1brc) | [Sam Pullara](https://github.com/spullara) |
89+
| 8. | 11.038s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_asun.java) | [Java](https://github.com/gunnarmorling/1brc) | [Andrew Sun](https://github.com/as-com) |
90+
| 9. | 11.222s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_isolgpus.java) | [Java](https://github.com/gunnarmorling/1brc) | [Jamie Stansfield](https://github.com/isolgpus) |
91+
| 10. | 13.277s | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_yavuztas.java) | [Java](https://github.com/gunnarmorling/1brc) | [Yavuz Tas](https://github.com/yavuztas) |
92+
| | 4m 13.449s | [link](https://github.com/gunnarmorling/onebrc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage.java) | [Java](https://github.com/gunnarmorling/1brc) | _Reference implementation_ |
10193

10294
You can view language-specific leaderboards on each language's competition page.
10395

@@ -164,13 +156,9 @@ Some languages have special instructions but in general here's what you can expe
164156

165157
If you'd like to discuss any potential ideas for implementing 1BRC with the community, you can use the GitHub Discussions of this [@1brc](https://github.com/1brc) GitHub organization or the language-specific repository discussions. Please keep it friendly and civil.
166158

167-
The challenge runs until Jan 31 2024. \
168-
Any submissions (i.e. pull requests) created after Jan 31 2024 23:59 UTC will not be considered.
169-
170159
## Prize 🎁
171160

172-
If you enter this challenge, you may learn something new, get to inspire others, and take pride in seeing your name listed in the scoreboard above.
173-
Rumor has it that the winner of the [Java] competition (the original challenge language) may receive a unique 1οΈβƒ£πŸπŸŽοΈ t-shirt, too!
161+
If you enter this challenge, you may learn something new, get to inspire others, and take pride in seeing your name listed in the scoreboard above. Rumor has it that the winner of the [Java](https://github.com/gunnarmorling/1brc) competition (the original challenge language) may receive a unique 1οΈβƒ£πŸπŸŽοΈ t-shirt, too!
174162

175163
## FAQ
176164

@@ -195,5 +183,3 @@ Probably not. 😊 1BRC results are reported in wallclock time, thus results of
195183
###### Why 1οΈβƒ£πŸπŸŽοΈ?
196184

197185
It's the abbreviation of the project name: the **One** **B**illion **R**ow **C**hallenge.
198-
199-
</HomeContent>

0 commit comments

Comments
Β (0)