Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
null committed Mar 12, 2024
1 parent 55cd45c commit dc55824
Show file tree
Hide file tree
Showing 6 changed files with 390 additions and 522 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,33 @@ on:
- .github/**
- "!.github/workflows/deploy-pages.yml"
workflow_dispatch:
concurrency: ${{ github.workflow }}
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
deploy-pages:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: latest
cache: npm
- run: npm ci
- id: configure-pages
uses: actions/configure-pages@v4
- run: npm run build
env:
BASE_URL: ${{ steps.configure-pages.outputs.base_url }}/
BASE_PATH: ${{ steps.configure-pages.outputs.base_path }}/
- uses: actions/upload-pages-artifact@v3
with:
path: .vitepress/dist
- id: deploy-pages
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
27 changes: 0 additions & 27 deletions .vitepress/components/HomeContent.vue

This file was deleted.

17 changes: 0 additions & 17 deletions .vitepress/theme/index.ts

This file was deleted.

138 changes: 0 additions & 138 deletions .vitepress/theme/style.css

This file was deleted.

46 changes: 16 additions & 30 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
pageClass: my-index-page

hero:
name: "1BRC"
Expand Down Expand Up @@ -62,42 +63,33 @@ features:
linkText: Submit your solution!
---

<script setup>
import HomeContent from './.vitepress/components/HomeContent.vue'
</script>

<style>
.VPHomeHero .actions .action .VPButton:not(:link) {
.my-index-page .VPHomeHero .actions .action .VPButton:not(:link) {
background-color: transparent;
}
</style>

<HomeContent>

<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>

**πŸŽ‰ Open for submissions!** \
πŸ“† Challenge runs from **Jan 1, 2024** to **Jan 31, 2024**

Choose one of the languages listed above to see the language-specific leaderboard and instructions for submitting your solution to that language's repository.

## Global leaderboard

_TODO: Make sure this is up-to-date_

| | Time | Solution | Language | Author |
| --- | ---------: | ---------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------------- |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| | 4m 13.449s | [link](https://github.com/gunnarmorling/onebrc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage.java) | [Java] | _Reference implementation_ |

[Java]: https://github.com/gunnarmorling/1brc
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| | 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_ |

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

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

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.

The challenge runs until Jan 31 2024. \
Any submissions (i.e. pull requests) created after Jan 31 2024 23:59 UTC will not be considered.

## Prize 🎁

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] competition (the original challenge language) may receive a unique 1οΈβƒ£πŸπŸŽοΈ t-shirt, too!
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!

## FAQ

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

It's the abbreviation of the project name: the **One** **B**illion **R**ow **C**hallenge.

</HomeContent>
Loading

0 comments on commit dc55824

Please sign in to comment.