Topic: How to build Faster - Test Plugins Faster - Boot Faster  (Read 8159 times)

How to build Faster - Test Plugins Faster - Boot Faster
« on: February 11, 2015, 10:28:49 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
During development of final iso, one need to make lots of builds,
During development of plugins, one need to make lots of tests,
 we have some options available to speed up. :thumbsup:

1) SE projects:
Use
Utils\Extract Wim Folders

ila_rendered

-->
This way, there will be no speed loss with mount/unmount source wim files  :thumbsup:

2) SE Projects and Gena
If you have lots of available wasted ram  or 2nd physical disk (not usb, direct connected),

Use Junction
SE\Build\Junction
Gena\Basic\Build\Junction

ila_rendered

ila_rendered

This verrrrrry much speed up PostConfig/CreateISO steps  :thumbsup: :thumbsup:

Junction Plugin : http://theoven.org/index.php?topic=1198.0
SoftPerfect Ramdisk : http://theoven.org/index.php?topic=1203




***
Reminding:
To Test plugins, after a succesfull build,
 use Green button on the plugin,
  and
   SE\Finals\PostConfig -> There is small button "Create New Target Image and ISO and Start Emulator"

ila_rendered

   Gena\2 Create Image\--- use plugin you like

Special Note: "Gena\2 Create Image\Create ISO" -> using mkisof gets faster .iso on 2nd run  :wink: better when testing ....  :thumbsup:

ila_rendered

Above is conventional way to test plugins  :thumbsup:




See next post

also See Reply 4 "How to boot Faster"
http://TheOven.org/index.php?topic=1209.msg14466#msg14466
« Last Edit: March 06, 2015, 10:57:24 PM by Lancelot »

Re: How to build Faster - Test Faster
« Reply #1 on: February 11, 2015, 10:56:56 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Edit:
 Now having "ChiefPlugin Cache" available default on all projects,
   you mostly do not need "BackupRestore" plugins

====>
If you are developing complex plugins, follow this to gain a lot time:

ila_rendered
On SE projects:

 Enable plugin .\"BackupRestore Components"
  after build,
    .\"BackupRestore Components" --> Restore
      ....  :thumbsup:

Here It takes 1 min 22 seconds to Restore, which you can create an iso  :thumbsup:

If Junction plugin enabled (with a RamDisk) Here It takes 8 seconds to Restore  :lol: :lol: :lol:


This is fastest way to re test a plugin
  :smile:








Further info:


Developing a plugin needs lots of rebuilds,
 Even with above conventional ways, it still gets lots of time.

Idea is backup snapshot of build (like backup partition softwares)
 and restore during development.  :thumbsup:
   We have "Backup Restore" plugins


Gena:
Gena have 4 snapshot plugin points  (4 Backup Restore Plugins) available to ease development
1) At the End of Basic (selected default)
2) At the End of Components (selected default)
3) At the Begining of Optimization (not selected default)
4) At the Begining of Drivers (not selected default)

1 and 2 are the ones I use most :wink:


SE:
With
Gena\Utils\Share Plugins --> Share Plugins with --> SE
you get 4 (all not selected default) "Backup Restore" plugin available.

I mostly use
Components\Xerox\"BackupRestore Components"  :wink:
(I prefer unselecting rest of Components plugins)



After a successfull build,
 when developing a plugin,
  Components\Xerox\"BackupRestore Components" --> Restore,
   Green button developing plugin,
    Finals\PostConfig -> There is small button "Create New Target Image and ISO and Start Emulator"


This is fastest way to re test a plugin
  :smile:

ila_rendered

ps:

If you use Junction,
Components\Xerox\"BackupRestore Components" have Junction option available on Advanced Menu


Tip:
You can copy
 Components\Xerox\00-4_BackupRestore_Components.Link
   to base folder (folder where script.project exists)
    so you can more easly access Restore button

now done automatically  :thumbsup:

Tip:
You can also switch between x86 and x64 builds with Advanced Restore buttons  :thumbsup:


Backup Restore plugin page: http://TheOven.org/index.php?topic=87.0


This is not conventional but simple,
 you need to invest time to learn (read and practice) (10 minutes !),
  and gain lots of development time (hours)  :thumbsup: :thumbsup:

:turtle:
« Last Edit: February 20, 2017, 10:05:28 AM by Lancelot »

Re: How to build Faster - Test Plugins Faster
« Reply #2 on: February 12, 2015, 02:36:28 PM »

ChrisR

  • Moderator, XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Just tested a basic build with a 2Gb RamDrive and the new junction plugin, the PostConfig process was more than 3 times faster here :thumbsup:  :thumbsup:
And the same time is gained with the "PostConfig" button to rebuild the target image and ISO that I use a lot  :great:

However, 3 or  4 Gb, for those who have enough Ram, is better for a more complete building.
Nice addition  :thumbsup:
« Last Edit: February 12, 2015, 02:36:50 PM by ChrisR »

Re: How to build Faster - Test Plugins Faster
« Reply #3 on: February 12, 2015, 06:02:14 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
 :thumbsup:

Also try
BackupRestore Components
with reply #1 instruction  :smile:

:turtle:

Re: How to build Faster - Test Plugins Faster
« Reply #4 on: March 06, 2015, 10:52:23 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
How to Boot Faster
(also How to build faster to Test things)
Simply use less plugins to build  :smile:


SE:
"Basic" -> leave plugins default
"Shell" -> leave plugins default
UnSelect all rest plugins,
only enable
Finals\PostConfig
Finals\Create ISO


Shortly: "Basic"+"Shell"+PostConfig+Create ISO

*
Win81SE: Main Configuration -> Build Type -> PE in RAM
will also speed up your boot






Gena:
"Basic" -> leave plugins default
UnSelect all rest plugins,
only enable
Finals\2 Create Image\Create ISO

Shortly: "Basic"+Create ISO




****
Above is simple way to boot / test faster,
 smaller faster, but with missing things  :wink:
  You can get more smaller and faster by inspecting things, changing other settings, removing files manually, etc. Have fun  :smile:

btw, to test things,
After
"UnSelect all rest plugins,"
hit green play on plugins you like to test, than ... create iso


++
Following current topic main goal (build faster)
 Which I mostly use to "Test" plugins,
  Using
  "BackupRestore Components" on SE
  "BackupRestore Basic" on Gena
     with ramdrive, here rebuilding a new iso only takes
            28 Seconds on Win81SE x64
             7 Seconds on Gena x64
 :smile:
« Last Edit: March 06, 2015, 10:56:46 PM by Lancelot »

 

Powered by EzPortal