|
|
Search
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
Beating the notepad Round 1
during the development of @ES iīve been trying to optimize stuff as much as i can.. sadly its not always easy to do that as coding isnīt as easy as many people probably think. today i did some changes to the code and see how far i could get...sadly i lost Round 1 against the notepad by 820kb ![]() here the cruel proof: Notepad memory usage: ![]() @ES - MorphX memory usage: ![]() Round 2 is about to start... any ideas???? Spoiler:
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 |
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
|
#2 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
Round 2: The battle is over and we have a new King!!!!! ![]() Spoiler:
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 |
|
|
|
|
|
#4 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
nice ........ let me do some more changes... ![]() bah... not exactly what i wanted but am pretty sure i can beat that ![]() UPDATE: am comming closer ![]()
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 Last edited by @ruantec; 3 Weeks Ago at 14:37.. |
|
|
|
|
|
#7 (permalink) | ||
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
Quote:
-background -buttons -iphone skin -8 3D albums items with cover -10 3D audio covers with custom cover almost on every single one -custom fader control at the top and bottom(use a image as base) -custom slider control that uses a background and a thumb image -overlay -covers buffer -some other images hidden by now this canīt get lower actually but i think i can beat the 1,3mb mark. Quote:
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 |
||
|
|
|
|
|
#9 (permalink) | |
|
You're already dead...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2007
Location: Post-Apocalyptic Earth
Posts: 3,908
|
@ruantec: You should use a constant scene with @ES, or else it doesn't tell us how much memory consumption was reduced. You can for example load a folder with 15 files, and one with 2 files, and the later option might consume less memory w/o actually altering the @es's code.
__________________
Quote:
check out my blog ![]() |
|
|
|
|
|
|
#10 (permalink) | |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
Quote:
Obvously the results I've got so far are great but that doesn't mean the app is faster... Quite opposite as I've to load some key stuff everytime... The test here show that optimization can be done and that is needed at a certain level... Eventho a balance is needed because there isn't much room when you try to keep the memory usage under the <2mb mark.. Anyways I think what I've showed here is a proof that a nice optimization can be done without problems in .net. In conclution I think the best amount of memory usage for an like @es should be between 20 - 60mb as is a rasonable level. anyways I had fun trying to beat a very simple app like editor with one of the most fancy app ever created here at ngemu... After all we do all for fun and not for compete ![]() regards @ruantec
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 |
|
|
|
|
|
|
#11 (permalink) |
|
Mobile Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2006
Location: Santa Cruz, CA
Posts: 6,210
|
x86 FTW! ![]() ![]() Aero also uses a few hundred Ks. ![]() You gotta get it down to roughly 512K if you want to beat Notepad, @ruantec.
__________________
cChip interpreter WIP - current status: Release Candidate LRx Filter RC - current performance rating: 9/10 |
|
|
|
|
|
#13 (permalink) |
|
Regular User ;)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2007
Location: Naples Florida
Posts: 10,001
|
My phone can
__________________
A Mac is like an escort, you pay a ton and get nothing.
A PC is like a hooker, it's a lot cheaper and gives you what you're after.. and if unlucky some diseases as well, that's why you gotta use protection. -CC |
|
|
|
|
|
#15 (permalink) |
|
Mobile Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2006
Location: Santa Cruz, CA
Posts: 6,210
|
Done. ;p Win 7 FTW! ![]() No, it can't! lol Actually, WinMo phones would use up quite a bit of mem, too.
__________________
cChip interpreter WIP - current status: Release Candidate LRx Filter RC - current performance rating: 9/10 |
|
|
|
|
|
#16 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
Answer: my wife is a big Bollywood fan and I like some of the music in those movies
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 |
|
|
|
|
|
#18 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: Austria (originally from Dominican Republic)
Posts: 2,381
|
sure thing i admit that i canīt beat that.... but i can beat the System idle in features and CPU usage ![]() for example i got tired of camtasia as it didnīt work as i expected.. hypercam worked fine but none of the recording apps iīve tried so far records movements, effects or audio correctly and all of them records the audio from the mic which is a crap... fraps do a great job but it only records games at fullscreen and is useless to record the desktop so i took some time this weekend and wrote my own code for @ES to record my videos at a accurate speed using some hardware acceleration which beats the System idle and also added some more features to @ES to complete the combo lol ![]() it may use more memory but check this out(the original video quality is very sharp and almost as if you were watching a real time app on your desktop.. sadly i had to compress the video to reduce size):
__________________
Current development tools: Visual C++.net, Visual C#.net Visual VB.net, Visual Webdeveloper.net Bloodshed Dev C++, Borland C++ Visual Basic 6 Last edited by @ruantec; 3 Weeks Ago at 11:50.. |
|
|
|
|
|
#19 (permalink) |
|
Human Metal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2002
Location: Holland / Hungary
Posts: 13,550
|
I'm no coder myself, but I see that screen often enough to know that something hovering at that amount of memory is mighty impressive for what it returns in eye candy and functionality. Kudos
__________________
PC Specs: CPU: Intel Q8200 @ 2.8GHz ![]() GPU: Sapphire ATi HD4870 / 1024MB / Core: 801 / Mem: 1000 Mobo: Gigabyte EP35-DS3 (rev 2.1) SPU: Creative X-Fi Xtreme Music RAM: 2GB Kingston HyperX DDR2 1066 @ 4-4-4-12 ~ 800MHz HDD: 1TB Samsung Spinpoint, 32MB PSU: Hiper Type-R 580W Monitor: Iiyama B2403WS / 1920*1200 Geometry Wars: 198.400 Lumines: 999.999 Join the NGEmu Folding @ Home community NOW! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|