Skip to content

Instantly share code, notes, and snippets.

View ZYROz's full-sized avatar

Chirag Agrawal ZYROz

  • BITS Pilani Goa
  • Goa, India
View GitHub Profile
@ZYROz
ZYROz / Task1- GH1069
Last active August 29, 2015 14:05
Task Comparisons
---------------------Pre Task 1----------------------
branch=
tag=RELEASE_6_4_0-9-g075d1b0
date=20140812 08:36:30 IST
cc=cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
optimize=-O3
loadavg 3.41 2.00 1.10 1/436 8290
Performance counter stats for '../parrot-bench/run-bench_old.sh' (4 runs):
@ZYROz
ZYROz / Cachegrind Results
Created August 7, 2014 17:26
Cachegrind Results
---------master-data-----------
==9361== Cachegrind, a cache and branch-prediction profiler
==9361== Copyright (C) 2002-2013, and GNU GPL'd, by Nicholas Nethercote et al.
==9361== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==9361== Command: /home/zyro/parrot-bench/bench.sh
==9361==
--9361-- warning: L3 cache found, using its data for the LL simulation.
==11843==
==11843== I refs: 646,709
@ZYROz
ZYROz / PCC-1083 Vs Master
Created August 7, 2014 16:46
PCC-1083 Vs Master
------------PCC-GH1083------------------
branch=
tag=RELEASE_6_6_0-11-gd815693
date=20140807 10:03:40 IST
cc=cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
optimize=-O3
loadavg 2.98 1.38 0.55 1/354 4908
Performance counter stats for '../parrot-bench/run-bench_old.sh' (4 runs):
@ZYROz
ZYROz / args.diff
Created August 5, 2014 19:05
args
diff --git a/src/call/args.c b/src/call/args.c
index 7ba54e2..0b7e01a 100644
--- a/src/call/args.c
+++ b/src/call/args.c
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2001-2011, Parrot Foundation.
+Copyright (C) 2001-2014, Parrot Foundation.
=head1 NAME
@ZYROz
ZYROz / debug.diff
Created August 5, 2014 17:20
Debug
diff --git a/lib/Parrot/Pmc2c/Method.pm b/lib/Parrot/Pmc2c/Method.pm
index edd5f75..a99a5da 100644
--- a/lib/Parrot/Pmc2c/Method.pm
+++ b/lib/Parrot/Pmc2c/Method.pm
@@ -337,9 +337,10 @@ sub decl {
}
my $interp = $self->interp_unused ? 'SHIM_INTERP' : 'PARROT_INTERP';
my $pmcarg = $self->pmc_unused ? 'SHIM(PMC *_self)' : 'ARGMOD(PMC *_self)';
+ my $static = $pmcname eq 'CallContext' ? "" : "static";
@ZYROz
ZYROz / diff
Last active August 29, 2015 14:04
master6_6-Vs-inline the CallContext ATTR accessors
diff --git a/include/pmc/pmc_callcontext.h b/home/zyro/Desktop/pmc_callcontext.h
index e03455a..e8960b6 100644
--- a/include/pmc/pmc_callcontext.h
+++ b/home/zyro/Desktop/pmc_callcontext.h
@@ -62,729 +62,242 @@ typedef struct Parrot_CallContext_attributes {
/* Generated macro accessors for 'caller_ctx' attribute of CallContext PMC. */
#define GETATTR_CallContext_caller_ctx(interp, pmc, dest) \
- do { \
- if (!PObj_is_object_TEST(pmc)) { \
@ZYROz
ZYROz / Proposal
Created July 14, 2014 15:09
Proposal
Organization: The Perl Foundation
Short description: Over the past few years Parrot has become slower. One of the identified reasons are several de-optimizations which simplified and harmonized the method calling code, esp. the signature handling. My aim is to improve the implementation of the PCC, the parrot calling convention and optimize the run-time, while keeping the external API compliant to the users of the VM.
Additional info: http://wiki.enlightenedperl.org/gsoc2014/ideas/Improve_performance_of_me...
About Me
* What is your e-mail address and IRC nick?
* What is your academic background?
* What other relevant projects have you worked on previously and what knowledge you gained from working on them?
* Why are you the right person to work on this project?
@ZYROz
ZYROz / Candidates
Created July 12, 2014 15:58
Suspicious or immediate commits before them
branch=
tag=RELEASE_2_11_0-1170-g460a85c
date=20140712 08:49:56 IST
cc=cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
optimize=-O3
loadavg 3.31 1.40 0.62 1/440 7189
Performance counter stats for '../parrot-bench/run-bench.sh' (4 runs):
@ZYROz
ZYROz / log.bench3
Created July 11, 2014 14:55
log.bench3
branch=6211b0c423e0d0c015e12cc166c531ca4c40b65b
tag=RELEASE_2_7_0-187-g6211b0c
date=20140710 11:45:42 IST
cc=cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
optimize=-O3
loadavg 3.33 2.40 1.43 1/351 17811
Performance counter stats for '../parrot-bench/run-bench.sh' (4 runs):
@ZYROz
ZYROz / log.bench2
Created July 10, 2014 16:32
log.bench2
branch=1174be4513d244c8e3102cdf280d0e6d1c89e341
tag=RELEASE_2_7_0-337-g1174be4
date=20140709 11:56:30 IST
cc=cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
optimize=-O3
loadavg 3.49 1.38 0.85 1/369 15605
Performance counter stats for '../parrot-bench/run-bench.sh' (4 runs):