Comments (26)
Nice job. A version in black could look cool:
from benchmarktools.jl.
I am hereby tempting you
from benchmarktools.jl.
You gave in to temptation
from benchmarktools.jl.
@cormullion, casually renaming core packages since 2023
from benchmarktools.jl.
Alright, replaced with the updated one 👍
from benchmarktools.jl.
Done with the following code:
using Luxor
JULIA_COLORS = [Luxor.julia_blue, Luxor.julia_green, Luxor.julia_red, Luxor.julia_purple]
function main()
Drawing(500, 500, "/tmp/juliaperformance.svg")
origin()
squircle(O, 250, 250, :clip, rt=0.3)
sethue("white")
paint()
@layer begin
translate(0, 200)
rmin = 150
rmax = 260
band = 40
for n in 1:4
setblend(blend(O - (240, 0), O + (240, 0), "white", JULIA_COLORS[n]))
sector(O,
rescale(n, 1, 3, rmin, rmax),
rescale(n, 1, 3, rmin, rmax) + band,
3π / 2 - deg2rad(45), 3π / 2 + deg2rad(45),
:fill)
end
sethue("white")
setline(25)
line(O, polar(400, deg2rad(290)), :strokepreserve)
setline(14)
sethue("black")
strokepath()
circle(O, 30, :fill)
end
finish()
preview()
end
main()
from benchmarktools.jl.
from benchmarktools.jl.
Oops - I completely overlooked that mistake ... 😱 I'll redo it tomorrow if that's OK...
from benchmarktools.jl.
I hope to not see GraphsNext.jl ...
You just gave me nightmares.
But if all goes well you may not even need to see MetaGraphs(Next).jl ever again
from benchmarktools.jl.
Love it! Where are you thinking the logo should go? The repository settings allow you to provide an image as a "social media preview" but I have no idea what that actually means. We could add it to the README.
from benchmarktools.jl.
The "social media preview" is the image you get when people link to your site on those social media sites I hear so much about (do people still use Twitter?😱😀), usually a biggish rectangular image.... if there isn't one in settings you get (I think):
![Screenshot 2023-06-14 at 17 59 04 copy](https://private-user-images.githubusercontent.com/52289/245878400-9c4f4631-5a53-4e03-9194-9653a47ef8a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5MDE2MzcsIm5iZiI6MTcyNDkwMTMzNywicGF0aCI6Ii81MjI4OS8yNDU4Nzg0MDAtOWM0ZjQ2MzEtNWE1My00ZTAzLTkxOTQtOTY1M2E0N2VmOGEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI5VDAzMTUzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVhMGRlNmYyNWNiMmM4NzkwN2QyODg1NjQwMGUwYWI0NmY1ODBmODg1OTQ2MGJjNzU0MzA3MjA3ZDkxZmU2NGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-u-Q2Q7_M5-nUCoReWG73DTSkf0aMy1QW3e4-RjHJa8)
You'd probably need to make something bigger than a logo (eg https://github.com/cormullion/Karnak.jl )
Sometimes there's a place for icon + link: eg on the Julia home page:
![Screenshot 2023-06-14 at 18 00 50](https://private-user-images.githubusercontent.com/52289/245878590-f1e1f452-4025-4cc5-afca-1742a37eebb6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5MDE2MzcsIm5iZiI6MTcyNDkwMTMzNywicGF0aCI6Ii81MjI4OS8yNDU4Nzg1OTAtZjFlMWY0NTItNDAyNS00Y2M1LWFmY2EtMTc0MmEzN2VlYmI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI5VDAzMTUzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljYmE2NDdkZjVkNjViYzQ5NzI5ZjNiZDc0ODdlZGJlZGE3MzkxZWMwZjNjOGY4ODYzODg3MWQ0MTRkNTM1NTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.i9pNSsvX2olZLQPXGZ6CU8a-wh_om3u6g6ZD265Hf-4)
Then there's the Documenter documentation - which has options to show and switch between light and dark mode logos.
from benchmarktools.jl.
Yeah I was thinking social media preview + docs, and possibly readme. The only issue with the readme is that you can't adapt to the light/dark theme?
from benchmarktools.jl.
You can:
- especially if Kristoffer approves of it 😛
from benchmarktools.jl.
I don't have access to the repo settings for the social media preview. @vchuravy gimme the power?
from benchmarktools.jl.
Does anyone know why the Readme logo fails to show up?
from benchmarktools.jl.
line 1 of readme doesn’t look like HTML code?
from benchmarktools.jl.
line 1 of readme doesn’t look like HTML code?
Right, I tried to put the logo next to the title and it worked in the markdown preview of VSCode so I didn't think twice
from benchmarktools.jl.
I can add the social media preview. Looks like the images here are square but the section in the settings says:
Images should be at least 640×320px (1280×640px for best display).
Indeed, putting the square one in there crops the height to fill the width. Does someone want to make a wide version?
from benchmarktools.jl.
don’t tempt me …
from benchmarktools.jl.
Apologies for the delay. The fruit of @cormullion's temptation has been set as the social media preview. What's left to consider this issue complete? Adding the logo to the Documenter styling?
from benchmarktools.jl.
The logo is already in the docs so we can probably close. I'm still a bit confused as to what "Benchmarks.jl" stands for in the social media preview though, isn't it a little misleading regarding the actual name of the package?
from benchmarktools.jl.
haha - well it really should be Benchmarks, but it superseded an older package with that name already taken, hence the Tools. The rich texture of history ... 😀
from benchmarktools.jl.
Honestly that's half of the reason why I work so hard to make Graphs.jl succeed, it's cause we finally have the right name 🤣
from benchmarktools.jl.
I hope to not see GraphsNext.jl ...
from benchmarktools.jl.
from benchmarktools.jl.
@ararslan here we go ^^
from benchmarktools.jl.
Related Issues (20)
- Memory estimate?
- Re-edit docs for multiple setup
- Run docs examples during CI instead of copypasting outputs
- `tune!` on benchmarkable with evals set. HOT 4
- @benchmark creates new symbol for each interpolation of a symbol HOT 3
- Removing `leaves` export HOT 5
- Remember keyword parameters for `tune!` HOT 3
- [Feature Request] Comparing two functions HOT 1
- Memory leak when repeatedly benchmarking HOT 5
- is `@benchmarkset` usable ? HOT 1
- Tag non-breaking release of BenchmarkTools.jl? HOT 5
- Feature request: asynchronously build a benchmark group HOT 2
- Should hardcoded version number be updated?
- cannot read benchmark JSON if run & written with `seconds=Inf`
- `judge` lacks a docstring HOT 1
- `@btime` reports wrong allocation HOT 1
- timeout measures warmup (eliminating many of the reasons to use timeout) HOT 1
- @Benchmarkset fails silently, returns null HOT 1
- Geometric mean as a measure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchmarktools.jl.