r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Host Kit]

Pekr
10-Nov-2010
[873]
yes, this one is good. Dunno if it runs on latest and greatest ... 
will dig it up and test. Btw - what's the name of the Core REBOL 
CPU cycles test script? Where can it be found?
Maxim
10-Nov-2010
[874x2]
wasn't it rebol-hertz
probably on rebol.org
Pekr
10-Nov-2010
[876]
hmm, 1000 cows does not work here ...
Sunanda
10-Nov-2010
[877]
This one, Petr?
    http://www.rebol.com/speed.r
Pekr
10-Nov-2010
[878]
not sure, maybe it is that. I do remember we each tested with our 
machines and posted here on Altme
Sunanda
10-Nov-2010
[879x2]
Probably was then:
    http://www.rebol.org/aga-display-posts.r?post=r3wp166x65
Easiest way to find all the posted results:
    http://www.rebol.org/aga-search.r?q=disk/file
Pekr
10-Nov-2010
[881]
cool :-)
ssolie
10-Nov-2010
[882]
Pekr: AGG is very quick  which is why it renders so nicely but it 
is all CPU bound (no h/w accel) -- I would appreciate a benchmark 
because I think we should be compiling AGG with -O3 given it is C++ 
code heavy on templates
Cyphre
11-Nov-2010
[883x2]
ssolie: here you can download simple benchmark: http://cyphre.mysteria.cz/tests/gfx-bench.r3
my result on WinXP SP3 ,Intel Pentium Mobile 4 1.8Ghz, ATI Mobility 
Radeon 7500, 1GBRAM

0:00:17.916 22.326 FPS
Pekr
11-Nov-2010
[885]
Win Vista, 32 bit, Dell Latitude D830, 2GB RAM, Intel Core 2 Duo 
1.8:


Script: "Host-Kit Graphics: Basic gfx benchmark" Version: 1.0.5 Date: 
none
GFX benchmark result
0:00:08.044 49.726 FPS
Cyphre
11-Nov-2010
[886]
BTW my internal unoptimized OpenGL accelerated version on the same 
machine as above ;)

0:00:08.342 47.95 FPS
Pekr
12-Nov-2010
[887]
btw - I read some OS-X/Flash related discussions on OSNews, and it 
seems Adobe is being criticised for not using new API. Is that Cocoa? 
Now as we have R3 library available - will we target this environment? 
IIRC R2 did not use it?
BrianH
12-Nov-2010
[888x2]
People who criticise Adobe for not using the new API don't realize 
that it *does* use the new API now. It's just that the API was only 
released recently, and was done badly.
Done badly by Apple, not Adobe.
Henrik
12-Nov-2010
[890]
Then how can it be that every single other video player under OSX 
performs at least twice as good, CPU time wise, as flash?
BrianH
12-Nov-2010
[891x2]
Because they don't use the API, they use their own code.
Also, Flash sucks for reasons that go beyond video rendering. It's 
not all Apple's fault.
Henrik
12-Nov-2010
[893]
Then it means that R3 should use its own code as well. But I think 
it's not an easy answer. Everything I hear about the flash implementation 
on OSX is heresay.
BrianH
12-Nov-2010
[894]
Agreed, especially to the hearsay part.
Henrik
12-Nov-2010
[895x2]
Some say that video is based on an inefficient color conversion process. 
Others say that Flash uses a really stupid polling mechanism. I think 
there is a garbage collection issue, but that is again hearsay.
Nevertheless, I don't think R3 would have issues with this, as long 
as it's done properly.
Maxim
12-Nov-2010
[897]
I know that some things in the Apple APIs wrt access to the hardware 
where never opened up and could only be used by apple themselves. 
 its possible that some people figured out how to hack their way 
through this, but flash is embedded in a browser, so probably can't 
since there would be some executions conflicts between the browser 
and the plugin.   


just a guess, but when you compare flash to other adobe apps, I can't 
see why flash would be left in perpetual agony when their other software 
doesn't have these issues.  in fact, for years Adobe apps where the 
fastest ones on Apple HW.
Henrik
12-Nov-2010
[898x2]
Maxim, tried Adobe Reader or any Air apps on OSX lately? :-)
ok, Air is flash, but still...
Maxim
12-Nov-2010
[900x2]
I was referring to their "professional" apps.
I always wondered why reader was so bad on OSX.  but is it really 
need since we have the internal OSX pdf reader.
Pekr
12-Nov-2010
[902]
Well, there should be no problem for us yet, no? So far, R3 uses 
SW rendering, there's not much to worry about in regards to OS-X 
API, no? Later on, as we have proper codec system, or we try to accelerate 
gfx or video, it might be a different topic.
Oldes
12-Nov-2010
[903x2]
My personal opinion is that Adobe is too big now and they probably 
don't understands it's own code. Especially the one which acuired, 
like Flash from Macromedia.
Also don't forget that Adobe and Apple are not friends anymore.
Maxim
12-Nov-2010
[905]
yep. in fact ever since Apple starting selling "high-end" apps they've 
done everything in their power to hurt their most direct software 
competitor.
Rebolek
12-Nov-2010
[906]
1ooo cows do not work? Time to rewrite cow as R3GUI style!
Cyphre
12-Nov-2010
[907]
If everything goes well we could use the OpenGL on OSX to render 
R3 graphics so my guess is R3 performance shouldn't be so bad.
Pekr
12-Nov-2010
[908]
yes, it does not work. Cyphre's gfx test works though. I am interested 
in Amiga figures :-)
Cyphre
12-Nov-2010
[909x3]
Pekr, I'll publish r3.exe with the opengl rendering by monday. I 
wonder how much fater will be the benchmark script on your machine 
:)
fater=faster ;)
BTW last night I added freetype font rendering to the hostkit so 
ssolie will be able to try render text on AmigaOS4.
Pekr
12-Nov-2010
[912x2]
yes, my machine is 4 years old Dell notebook, and the test was as 
fast as your OpenGL accelerated one. You really have to have an old 
machine, no? :-)
Freetype? Is that for Linux and other, non-windows OSes?
Cyphre
12-Nov-2010
[914x3]
yes, thats more than 8 years old thinkpad notebook..I prefer to test 
performance on olde machines..it shows the bottlencks much easier 
than on some hi-end supercomputers.
Feetype: by this addition in the hostkit we can theoretically get 
font rendering on Amiga, Linux, OSX etc. For OSX it would be great 
to switch to native fonts(Quartz?) later though.
BTW It's a shame that AmigaOS will have View sooner than Linux! It 
looks like the Rebol comunity have no Linux 'power programmers', 
or noone needs View on Linux?
Rebolek
12-Nov-2010
[917]
None serious Linux programmers would touch any non-GPL stuff ;)
Pekr
12-Nov-2010
[918x2]
yes, it is a pity. But mabe even more so - maybe many ppl would welcome 
View or at least Core on mobile OSes. Android and Wm6.5 are the biggest 
candidates imo ... (dunno what can be done about the iPhone)
Rebolek - really? Then why Linux folks are happy about some binary, 
non GPL drivers, etc.? :-)
Cyphre
12-Nov-2010
[920]
Bolek: ah, you're right..I forgot about  'The Linux geek Ten Commandments' 
;-)
Henrik
12-Nov-2010
[921]
Maxim: "but is it really need since we have the internal OSX pdf 
reader." - I would like to say that, but unfortunately I have had 
to process some absolutely nasty PDF forms that would not work in 
anything, but Adobe Reader, due to various custom elements, encryption, 
etc. Where were they from? Our dear government, of course.
Sunanda
12-Nov-2010
[922]
I've yet to meey any Linux programmers who have installed an open 
source BIOS.....So many of them have limits on where they draw the 
closed/open line for their software development stack. 

They and I just disgree on the best place to draw that line to create 
an appropriate marketing model for various projects (including REBOL)